From 550c2e38a64c3ff91a9b4074e5b5be34b78eabe5 Mon Sep 17 00:00:00 2001 From: Dario Faccin <35623244+dariofaccin@users.noreply.github.com> Date: Thu, 11 Jul 2024 09:04:33 +0200 Subject: [PATCH] fix: prevent bessctl hanging on SystemExit (#62) Signed-off-by: Dario Faccin --- bessctl/bessctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bessctl/bessctl b/bessctl/bessctl index 36f1e5a230..18fbc0d9cc 100755 --- a/bessctl/bessctl +++ b/bessctl/bessctl @@ -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():