mirror of https://github.com/docker/docs.git
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:
parent
3035ad0971
commit
ea12b40615
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue