From bc2449957c5214a655b541d10948d2f8020a9f4c Mon Sep 17 00:00:00 2001 From: SleepingCrows Date: Wed, 17 May 2023 12:54:14 -0400 Subject: [PATCH] Input Validation: Syntax Fix? --- Furaffinity/fa.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Furaffinity/fa.sh b/Furaffinity/fa.sh index 8040e73..ac72e1e 100644 --- a/Furaffinity/fa.sh +++ b/Furaffinity/fa.sh @@ -11,7 +11,7 @@ echo "===FA.SH: The Random FA Sub Generator===" # Check if the rep argument was filled already, test for non-numbers. -if [ -n $rep]; then +if [[ -n $rep]]; then if [[ "$rep" != [0-9]* ]]; then echo "Submission Count Argument is not an integer" exit