Skip to content

Commit

Permalink
cmk-broker-test: not terminating is failing
Browse files Browse the repository at this point in the history
Change-Id: I5de6ca78238eef501982afb1befbede4a159eab0
  • Loading branch information
mo-ki committed Nov 4, 2024
1 parent 95f13eb commit dee25df
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions bin/cmk-broker-test
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,11 @@ def main() -> int:
try:
return _command_pong() if args.site is None else _command_ping(args.site)
except KeyboardInterrupt:
sys.stdout.write("\nExiting\n")
return 0
if args.site is None:
sys.stdout.write("\nExiting (interrupted)\n")
return 0
sys.stdout.write("\nGiving up (interrupted)\n")
return 2


if __name__ == "__main__":
Expand Down

0 comments on commit dee25df

Please sign in to comment.