minor: code hygiene
authorIan Kelling <iank@fsf.org>
Fri, 13 Jul 2018 18:44:38 +0000 (14:44 -0400)
committerIan Kelling <iank@fsf.org>
Fri, 13 Jul 2018 18:44:38 +0000 (14:44 -0400)
err

diff --git a/err b/err
index 1abf559ca3f8959eb47b28064e332a52cfca6d83..5b501ce44cb7bf8b24c01fb1718850e709ee1838 100644 (file)
--- a/err
+++ b/err
@@ -87,7 +87,7 @@ err-exit() {
 
   exec >&2
   code=1
-  if [[ $@ ]]; then
+  if [[ $* ]]; then
     if [[ ${1/[^0-9]/} == "$1" ]]; then
       code=$1
       if [[ $2 ]]; then