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:
2013-12-26 18:58:45 +01:00
parent d344279e8d
commit 4c7b91bba4
5 changed files with 10 additions and 10 deletions

View File

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