Skip to content

Commit d2460d5

Browse files
committed
cleanup
1 parent aa396bb commit d2460d5

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

mount.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -244,11 +244,6 @@ sudo umount rootfs/proc || true
244244
sudo umount rootfs/tmp/build/ || true
245245
sudo umount rootfs || true
246246

247-
# More aggressive loop device cleanup
248-
if [ -n "$LOOP_DEV" ]; then
249-
sudo losetup -d "$LOOP_DEV" || true
250-
fi
251-
252247
# Find and detach any remaining loop devices pointing to our image
253248
sudo losetup -j "$ROOTFS_IMG" | cut -d: -f1 | xargs -r sudo losetup -d
254249

0 commit comments

Comments
 (0)