summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-06-15 09:11:29 +0000
committerOlivier Blin <oblin@mandriva.org>2004-06-15 09:11:29 +0000
commitf89d67c4caf529ffdfaffa57eed7e59e82410e33 (patch)
tree8c1e6a7ff5c60b5e2114577abaae0586fc25c67b
parent7e9c901d61c8849fc5c01bde315af7f9fe28fdf8 (diff)
downloaddrakx-f89d67c4caf529ffdfaffa57eed7e59e82410e33.tar
drakx-f89d67c4caf529ffdfaffa57eed7e59e82410e33.tar.gz
drakx-f89d67c4caf529ffdfaffa57eed7e59e82410e33.tar.bz2
drakx-f89d67c4caf529ffdfaffa57eed7e59e82410e33.tar.xz
drakx-f89d67c4caf529ffdfaffa57eed7e59e82410e33.zip
del loop device after unmount
-rw-r--r--mdk-stage1/disk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdk-stage1/disk.c b/mdk-stage1/disk.c
index 5597d0bd4..c0c964800 100644
--- a/mdk-stage1/disk.c
+++ b/mdk-stage1/disk.c
@@ -299,6 +299,7 @@ static enum return_type try_with_device(char *dev_name)
}
umount(IMAGE_LOCATION);
+ del_loop(loopdev);
}
stage2_isos[stage2_iso_number] = NULL;