Changed exit 2 to exit 1 as it seems to be The Right Thing since exit 2 is misuse-something
This commit is contained in:
@@ -12,12 +12,12 @@ Iterate=0
|
||||
# Sanity checks
|
||||
if [ $# -ne 1 ]; then
|
||||
echo "`basename $0` requires one argument"
|
||||
exit 2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! [ $Nr -eq $Nr &> /dev/null ]; then
|
||||
echo "Use only integers"
|
||||
exit 2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Define our functions
|
||||
|
Reference in New Issue
Block a user