Browse Source

Merge pull request #2360 from shin-/2357-http_timeout_exit_1

Use exit code 1 when encountering a ReadTimeout
Joffrey F 10 years ago
parent
commit
2c2b8a8322
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compose/cli/main.py

+ 1 - 0
compose/cli/main.py

@@ -80,6 +80,7 @@ def main():
             "If you encounter this issue regularly because of slow network conditions, consider setting "
             "If you encounter this issue regularly because of slow network conditions, consider setting "
             "COMPOSE_HTTP_TIMEOUT to a higher value (current value: %s)." % HTTP_TIMEOUT
             "COMPOSE_HTTP_TIMEOUT to a higher value (current value: %s)." % HTTP_TIMEOUT
         )
         )
+        sys.exit(1)
 
 
 
 
 def setup_logging():
 def setup_logging():