Boot script: Don't exit successfully if something is wrong.

parent e99a1672
...@@ -11,7 +11,7 @@ ${ONLY_SLAPFORMAT:=false} ...@@ -11,7 +11,7 @@ ${ONLY_SLAPFORMAT:=false}
if [ $ONLY_SLAPFORMAT = false ]; then if [ $ONLY_SLAPFORMAT = false ]; then
if [ ! -f $SLAPOS_CONFIGURATION/slapos.cfg ]; then if [ ! -f $SLAPOS_CONFIGURATION/slapos.cfg ]; then
echo "No slapos.cfg found" echo "No slapos.cfg found"
exit 0 exit 1
fi fi
echo "Starting slap script" echo "Starting slap script"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment