From 324bbaf1411468735b7d3a198bc560cf48cb6079 Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Fri, 9 Jun 2023 02:05:33 -0400 Subject: [PATCH] fix(tools): always end with nice exit in open-shh-tunnel --- tools/striker-open-ssh-tunnel | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/striker-open-ssh-tunnel b/tools/striker-open-ssh-tunnel index 3d1b6bec..3057e79b 100755 --- a/tools/striker-open-ssh-tunnel +++ b/tools/striker-open-ssh-tunnel @@ -95,8 +95,6 @@ sub close_ssh_tunnel message => "SSH tunnel disconnected." } }); } - - $anvil->nice_exit({ exit_code => 0 }); } $SIG->{INT} = \&close_ssh_tunnel; @@ -134,3 +132,5 @@ while($is_ssh_tunnel_alive) } close_ssh_tunnel(); + +$anvil->nice_exit({ exit_code => 0 });