Update multi-service_container.md

Negative exitcodes are not allowed, see:

http://tldp.org/LDP/abs/html/exitcodes.html

exit takes only integer args in the range 0 - 255
This commit is contained in:
datenhahn 2018-03-09 09:56:37 +01:00 committed by Joao Fernandes
parent 3035ad0971
commit ea12b40615
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ this in a few different ways.
# If they are not both 0, then something is wrong
if [ $PROCESS_1_STATUS -ne 0 -o $PROCESS_2_STATUS -ne 0 ]; then
echo "One of the processes has already exited."
exit -1
exit 1
fi
done
```