diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-10-01 23:29:31 +0200 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-10-01 23:29:31 +0200 |
commit | 0731cc581ae18d820b3808c82c0214b51d4adcb7 (patch) | |
tree | a46d4ea37842c9dfaea53c1f59bbd65f3441dad0 /patches | |
parent | e712ef10af7e26bff5cac719a6474f8b1c7cc200 (diff) | |
download | draklive-config-0731cc581ae18d820b3808c82c0214b51d4adcb7.tar draklive-config-0731cc581ae18d820b3808c82c0214b51d4adcb7.tar.gz draklive-config-0731cc581ae18d820b3808c82c0214b51d4adcb7.tar.bz2 draklive-config-0731cc581ae18d820b3808c82c0214b51d4adcb7.tar.xz draklive-config-0731cc581ae18d820b3808c82c0214b51d4adcb7.zip |
Diffstat (limited to 'patches')
-rw-r--r-- | patches/draklive-install.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/draklive-install.patch b/patches/draklive-install.patch new file mode 100644 index 0000000..04843df --- /dev/null +++ b/patches/draklive-install.patch @@ -0,0 +1,14 @@ +--- sbin/draklive-install ++++ sbin/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; + } + } + |