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
This commit is contained in:
Jaromil 2011-11-03 13:28:44 +01:00
parent 30c862e36f
commit b9722bf14e

View File

@ -338,7 +338,7 @@ cat <<EOF
EOF EOF
tombfile=${tombname}.tomb tombfile=${tombname}.tomb
"${TOMBEXEC}" create -s $tombsize ${tombfile} "${TOMBEXEC}" create --ignore-swap -s $tombsize ${tombfile}
if [ $? != 0 ]; then if [ $? != 0 ]; then
error "An error occurred creating tomb, operation aborted." error "An error occurred creating tomb, operation aborted."