Skip to content

Commit

Permalink
fix: prevent bessctl hanging on SystemExit (#62)
Browse files Browse the repository at this point in the history
Signed-off-by: Dario Faccin <[email protected]>
  • Loading branch information
dariofaccin authored Jul 11, 2024
1 parent 28a4f96 commit 550c2e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bessctl/bessctl
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def run_cli(instream=sys.stdin):
if cli.stop_loop:
if cli.last_cmd:
cli.ferr.write(' Command failed: %s\n' % cli.last_cmd)
sys.exit(1)
os._exit(1)


def main():
Expand Down

0 comments on commit 550c2e3

Please sign in to comment.