summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-03-03 03:24:00 -0500
committerJune McEnroe <june@causal.agency>2020-03-03 03:24:00 -0500
commit04c74cbbf4280202d7db1410b202b62882663ca6 (patch)
tree0a113f18d9e9482c64ebd5fd59f60b0f75dfa53b /bin
parentRemove setopt (diff)
downloadsrc-04c74cbbf4280202d7db1410b202b62882663ca6.tar.gz
src-04c74cbbf4280202d7db1410b202b62882663ca6.zip
Don't use $ inside $(())
Diffstat (limited to '')
-rw-r--r--bin/up.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/up.sh b/bin/up.sh
index 8b70de70..e65d4522 100644
--- a/bin/up.sh
+++ b/bin/up.sh
@@ -67,7 +67,7 @@ while getopts 'chst' opt; do
 		(?) exit 1;;
 	esac
 done
-shift $(($OPTIND - 1))
+shift $((OPTIND - 1))
 [ $# -eq 0 ] && : ${fn:=uploadText}
 : ${fn:=upload}