mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
proper exit code
This commit is contained in:
parent
452a283306
commit
af09a16670
@ -21,7 +21,8 @@ fi
|
|||||||
|
|
||||||
# lock start
|
# lock start
|
||||||
if [ -f $LOCK_FILE ] ; then
|
if [ -f $LOCK_FILE ] ; then
|
||||||
return "Already building!" 2>/dev/null || exit 1
|
echo "Already building!"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
touch $LOCK_FILE
|
touch $LOCK_FILE
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user