From 5c6f1af52cacb8e5416deadf030b2654ca66fc85 Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Wed, 16 Nov 2022 10:24:24 -0500 Subject: [PATCH] Fix typo in stderr redirection --- gocrypt.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gocrypt.bash b/gocrypt.bash index 2d05245..81f2598 100755 --- a/gocrypt.bash +++ b/gocrypt.bash @@ -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" \