Explorar o código

Allow main() to be profiled.

Chris McDonough %!s(int64=18) %!d(string=hai) anos
pai
achega
081faeb1d6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/supervisor/supervisord.py

+ 1 - 1
src/supervisor/supervisord.py

@@ -298,7 +298,7 @@ def main(test=False):
         if test:
             return d
         if d.mood < 0:
-            sys.exit(0)
+            break
         if d.options.httpserver:
             d.options.httpserver.close()