summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rwxr-xr-xdraklive-install5
2 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 5a348c9..ed93f26 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- ensure partitioning wizard knows devices have been unmounted (mga#23063)
- disable screensaver/lock whilst installer is running
2.15
diff --git a/draklive-install b/draklive-install
index ce3cb7c..5d128f8 100755
--- a/draklive-install
+++ b/draklive-install
@@ -87,8 +87,9 @@ sub umount_all {
eval { fs::mount::swapoff($_->{device}) };
}
}
- foreach (map { $_->{isMounted} && !isSwap($_) ? "/dev/$_->{device}" : () } @$fstab) {
- system('umount', $_);
+ foreach (grep { $_->{isMounted} && !isSwap($_) } @$fstab) {
+ system('umount', "/dev/$_->{device}");
+ $_->{isMounted} = 0;
}
}