From ea12b4061539e930126ffde3eb65da6c7c7f5c29 Mon Sep 17 00:00:00 2001 From: datenhahn Date: Fri, 9 Mar 2018 09:56:37 +0100 Subject: [PATCH] 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 --- config/containers/multi-service_container.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/containers/multi-service_container.md b/config/containers/multi-service_container.md index 5ae6cc342b..885838df2d 100644 --- a/config/containers/multi-service_container.md +++ b/config/containers/multi-service_container.md @@ -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 ```