diff --git a/heavy_script.sh b/heavy_script.sh index 0b1292c6..7f319681 100644 --- a/heavy_script.sh +++ b/heavy_script.sh @@ -100,7 +100,7 @@ do # existing or starting with dash? if [[ -n $nextopt && $nextopt != -* ]] ; then OPTIND=$((OPTIND + 1)) - update_limit=("$OPTARG") + update_limit=$OPTARG else update_limit=1 fi