]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
installer: Umount everything right away.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 12 Aug 2014 12:47:32 +0000 (14:47 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 12 Aug 2014 12:47:32 +0000 (14:47 +0200)
src/installer/hw.c

index 048aeaaf53ded6f9b6ca158a6db7aa7dabca19d6..37522649677c55a05c779c4e61b39b2d4f2a4e06 100644 (file)
@@ -90,7 +90,7 @@ int hw_mount(const char* source, const char* target, const char* fs, int flags)
 }
 
 int hw_umount(const char* target) {
-       return umount2(target, MNT_DETACH);
+       return umount2(target, 0);
 }
 
 static int hw_test_source_medium(const char* path) {