From: Ian Kelling Date: Mon, 22 Jan 2018 01:39:16 +0000 (-0500) Subject: fix syntax error X-Git-Url: https://iankelling.org/git/?p=log-quiet;a=commitdiff_plain;h=be317c8ded43547346ac541b95c67ac0f14d39b8;hp=8fa437334b6b5f24d4d85410896546eba825f639 fix syntax error --- diff --git a/log-once b/log-once index 233bc0f..9b5da38 100755 --- a/log-once +++ b/log-once @@ -40,7 +40,7 @@ state in the same directory. echo "$help" return elif [[ $1 == -[0-9]* ]]; then - errors={$1#-} + errors=${1#-} shift elif [[ $1 == -- ]]; then shift