Browse Source

[1428] Return stored exit code, not 0 every time

Piggybacking tiny fix of #213
Michal 'vorner' Vaner 13 years ago
parent
commit
82fdeb65eb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bin/bind10/bind10_src.py.in

+ 1 - 1
src/bin/bind10/bind10_src.py.in

@@ -1095,7 +1095,7 @@ def main():
         unlink_pid_file(options.pid_file)
         if boss_of_bind is not None:
             boss_of_bind.remove_socket_srv()
-    sys.exit(0)
+    sys.exit(boss_of_bind.exitcode)
 
 if __name__ == "__main__":
     main()