Changed 'exit 2' to 'exit 1' as it seems to be The Right Thing

This commit is contained in:
2013-12-26 19:02:28 +01:00
parent 4c7b91bba4
commit a836db6394
6 changed files with 17 additions and 17 deletions

View File

@@ -15,13 +15,13 @@ Printf="/usr/bin/printf"
# Sanity checks
if [ ! -w `dirname $File` ]; then
echo "Can't write to `dirname $File`"
exit 2
exit 1
fi
for bin in $Awk $Dialog $Printf; do
if [ ! -x $Bin ]; then
echo "Can't execute $Bin"
exit 2
exit 1
fi
done