Fix typo in stderr redirection

This commit is contained in:
Peter Cai 2022-11-16 10:24:24 -05:00
parent db2418c3af
commit 5c6f1af52c
1 changed files with 1 additions and 1 deletions

View File

@ -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" \