fixed exit code to be numeric

This commit is contained in:
Ulf Gebhardt 2022-01-12 19:01:30 +01:00
parent 45d9d81ae7
commit 53c7991a03
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -26,8 +26,7 @@ set +o allexport
# lock start
if [ -f $LOCK_FILE ] ; then
retVal="Already building!"
return "${retVal}" 2>/dev/null || exit "${retVal}"
return "Already building!" 2>/dev/null || exit 1
fi
touch $LOCK_FILE