From 54dc8969e5afc7ea96cdc7d3ca37f4d63a3403e5 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Mon, 25 Jul 2022 21:59:00 -0600 Subject: [PATCH] test --- heavy_script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heavy_script.sh b/heavy_script.sh index 1edaf814..89eef577 100644 --- a/heavy_script.sh +++ b/heavy_script.sh @@ -67,7 +67,7 @@ do ;; i) ignore+=("$OPTARG") - [[ -z "$OPTARG" ]] && echo "\"-i\" requires an argument" && exit + [[ -z "$ignore" ]] && echo "\"-i\" requires an argument" && exit ;; t) re='^[0-9]+$'