From 17e63674b2b5eacfcf2cebf1121a981da6467683 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Tue, 3 Mar 2020 03:24:41 -0500 Subject: Don't use $ inside $(()) --- git-fetch-email.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit 1.4.1