diff --git a/lib/lib_arg_parser.sh b/lib/lib_arg_parser.sh index 2e36311..e825890 100644 --- a/lib/lib_arg_parser.sh +++ b/lib/lib_arg_parser.sh @@ -175,7 +175,7 @@ arg_parser() { --control) #if [[ -n "${2}" && "${2}" =~ ^-?[0-9]+$ && "${2}" -ge 1 && "${2}" -le 65536 ]]; then if [[ -n "${2}" ]]; then - declare -gi VAR_HANDLER_ISO_COUNTER="${2}" + declare -g VAR_HANDLER_ISO_COUNTER="${2}" shift 2 else if ! $VAR_HANDLER_AUTOBUILD; then boot_screen_cleaner; fi