mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-12-23 10:38:59 +00:00
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:
parent
30c862e36f
commit
b9722bf14e
@ -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."
|
||||||
|
Loading…
Reference in New Issue
Block a user