fix syntax error
authorIan Kelling <iank@fsf.org>
Mon, 22 Jan 2018 01:39:16 +0000 (20:39 -0500)
committerIan Kelling <iank@fsf.org>
Mon, 22 Jan 2018 01:39:16 +0000 (20:39 -0500)
log-once

index 233bc0f1deaeff23e2ac9822e2658ad4dc498fe3..9b5da386ef62110ae1e6e495a9aaf6dc17890173 100755 (executable)
--- 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