Fixing exit code error

This commit is contained in:
2018-04-08 14:46:43 +02:00
parent ed07f8de05
commit e9b48b71a8
2 changed files with 14 additions and 10 deletions

View File

@ -87,11 +87,11 @@ fi
if (( ${#error_files[@]} > 0 ))
then
exit 1
elif (( ${#missing_files[@]} > 0 ))
then
exit 3
else
exit 0
fi
exit 99
if (( ${#missing_files[@]} > 0 ))
then
exit 3
fi
exit 0