Commented out first IF statement, testing actual validation.
parent
c1b66a7e5f
commit
7727c2afd2
|
@ -11,7 +11,7 @@ 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"]; then
|
||||||
if [[ "$rep != [0-9]*" ]]; then
|
if [[ "$rep != [0-9]*" ]]; then
|
||||||
echo "Submission Count Argument is not an integer"
|
echo "Submission Count Argument is not an integer"
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Reference in New Issue