Fix typo in stderr redirection
This commit is contained in:
parent
db2418c3af
commit
5c6f1af52c
|
@ -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" \
|
||||
|
|
Loading…
Reference in New Issue