Input Validation: Syntax Fix?

main
SleepingCrows 2023-05-17 12:54:14 -04:00
parent 9a93dd1c5f
commit bc2449957c
1 changed files with 1 additions and 1 deletions

View File

@ -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