summaryrefslogtreecommitdiffstats
path: root/draklive-install-lock-storage
diff options
context:
space:
mode:
Diffstat (limited to 'draklive-install-lock-storage')
-rwxr-xr-xdraklive-install-lock-storage3
1 files changed, 3 insertions, 0 deletions
diff --git a/draklive-install-lock-storage b/draklive-install-lock-storage
index 8d42a5b..a580705 100755
--- a/draklive-install-lock-storage
+++ b/draklive-install-lock-storage
@@ -10,3 +10,6 @@ else
fi
# run without udisks lock if it fails
[ "$?" != 0 ] && $CMD
+
+# draklive-install will leave swap partitions mounted. Unmount them now.
+swapoff -a