diff options
author | June McEnroe <june@causal.agency> | 2020-03-03 03:24:41 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-03-03 03:24:41 -0500 |
commit | 17e63674b2b5eacfcf2cebf1121a981da6467683 (patch) | |
tree | 93b29d642d9215bd75e218aea6a3201bc5c1718a | |
parent | Use getopts (diff) | |
download | imbox-1.0p1.tar.gz imbox-1.0p1.zip |
Don't use $ inside $(()) 1.0p1
-rw-r--r-- | git-fetch-email.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-fetch-email.sh b/git-fetch-email.sh index 80b3bb7..92455d5 100644 --- a/git-fetch-email.sh +++ b/git-fetch-email.sh @@ -38,7 +38,7 @@ while getopts 'C:F:S:T:h:m:p:' opt; do (?) exit 1;; esac done -shift $(($OPTIND - 1)) +shift $((OPTIND - 1)) [ $# -ne 0 ] && user=$1 if [ -z "${user:-}" ]; then echo "$0: username required" |