commit b9722bf14e0a4853b1c1e97b483ecb59ae53c6be
parent 30c862e36f3bd177b1a0192ef61ec037af281e5a
Author: Jaromil <jaromil@dyne.org>
Date: Thu, 3 Nov 2011 13:28:44 +0100
tomb-open runs ignoring if swap is in use
Tomb-open is a lightweight wrapper and currently has no way to warn the user about
a swap being present. for now we simply deactivate the check.
In future, tombs will be created with a new GUI and this wrapper will be left
only for xdg registered operations (file manager right click, mime-types etc.)
This commit fixes issue #62
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tomb-open b/src/tomb-open
@@ -338,7 +338,7 @@ cat <<EOF
EOF
tombfile=${tombname}.tomb
-"${TOMBEXEC}" create -s $tombsize ${tombfile}
+"${TOMBEXEC}" create --ignore-swap -s $tombsize ${tombfile}
if [ $? != 0 ]; then
error "An error occurred creating tomb, operation aborted."