Rewrite exit codes paragraph (#4100)

Improved accuracy and fixed grammar

Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
Joffrey F 2017-08-08 14:15:50 -07:00 committed by Misty Stanley-Jones
parent db33e6c079
commit d03920a6e8
1 changed files with 3 additions and 3 deletions

View File

@ -51,6 +51,6 @@ flag.
If you want to force Compose to stop and recreate all containers, use the If you want to force Compose to stop and recreate all containers, use the
`--force-recreate` flag. `--force-recreate` flag.
If the command encounters an error, it returns `1`. If the process encounters an error, the exit code for this command is `1`.
If user press `ctrl` + `C`, causing stop of the containers, it returns `0`. If the process is interrupted using `SIGINT` (`ctrl` + `C`) or `SIGTERM`, the containers are stopped, and the exit code is `0`.
If user press `ctrl` + `C` two time, forcing kill of containers, it returns `2`. If `SIGINT` or `SIGTERM` is sent again during this shutdown phase, the running containers are killed, and the exit code is `2`.