Input Validation: Line 14 token error.
parent
bc2449957c
commit
0ce8e8f249
|
@ -11,8 +11,9 @@ echo "===FA.SH: The Random FA Sub Generator==="
|
||||||
|
|
||||||
# Check if the rep argument was filled already, test for non-numbers.
|
# Check if the rep argument was filled already, test for non-numbers.
|
||||||
|
|
||||||
if [[ -n $rep]]; then
|
if [[ -n $rep]]
|
||||||
if [[ "$rep" != [0-9]* ]]; then
|
then
|
||||||
|
if [[ $rep != [0-9]* ]]; then
|
||||||
echo "Submission Count Argument is not an integer"
|
echo "Submission Count Argument is not an integer"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue