Compare commits
No commits in common. "31e65661a5bf4efd81614671fc8619bcd6d06e80" and "db2418c3af04b82364d7a6ead6492b13d566a130" have entirely different histories.
31e65661a5
...
db2418c3af
|
@ -52,7 +52,7 @@ gocrypt_spawn_close_task() {
|
|||
|
||||
local task_name="$(gocrypt_unique_task_identifier)"
|
||||
# Cancel any previous task that might be present
|
||||
systemctl --user stop "$task_name.timer" > /dev/null 2>&1
|
||||
systemctl --user stop "$task_name.timer" > /dev/null 2>1
|
||||
|
||||
# Create a new task
|
||||
systemd-run --user --on-active=$gocrypt_close_timeout --unit="$task_name" \
|
||||
|
@ -147,7 +147,7 @@ gocrypt_open() {
|
|||
fi
|
||||
fi
|
||||
|
||||
gocryptfs -passfile /dev/stdin "$gocrypt_dir" "$gocrypt_dec_dir" <<< "$gocrypt_passwd" || gocrypt_die "Unable to decrypt"
|
||||
gocryptfs -passfile /dev/stdin "$gocrypt_dir" "$gocrypt_dec_dir" <<< "$gocrypt_passwd"
|
||||
|
||||
gocrypt_spawn_close_task
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue