From 6c24507dd71274a7f06c56f819b3c65b61182f96 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Mon, 25 Jul 2022 22:40:05 -0600 Subject: [PATCH] woo --- heavy_script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heavy_script.sh b/heavy_script.sh index 29f90c3e..a452cbd8 100644 --- a/heavy_script.sh +++ b/heavy_script.sh @@ -67,7 +67,7 @@ do # existing or starting with dash? if [[ -n $nextopt && $nextopt != -* ]] ; then OPTIND=$((OPTIND + 1)) - ignore+=("$OPTARG") + ignore+=("$nextopt") else echo "Option: \"-i\" requires an argument" exit