Fix redirection again
This commit is contained in:
parent
31e65661a5
commit
771957d2d2
|
@ -156,7 +156,7 @@ gocrypt_close() {
|
||||||
[ $# -eq 0 ] || gocrypt_die "Unexpected argument"
|
[ $# -eq 0 ] || gocrypt_die "Unexpected argument"
|
||||||
gocrypt_open_check
|
gocrypt_open_check
|
||||||
# Remove the systemd task for closing if present
|
# Remove the systemd task for closing if present
|
||||||
which systemctl > /dev/null && systemctl --user stop "$(gocrypt_unique_task_identifier).timer" > /dev/null 2>1
|
which systemctl > /dev/null && systemctl --user stop "$(gocrypt_unique_task_identifier).timer" > /dev/null 2>&1
|
||||||
|
|
||||||
fusermount -u "$gocrypt_dec_dir" || fusermount -u -z "$gocrypt_dec_dir"
|
fusermount -u "$gocrypt_dec_dir" || fusermount -u -z "$gocrypt_dec_dir"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue