diff options
-rw-r--r-- | scripts/ssh.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ssh.pm b/scripts/ssh.pm index cea486675ece..233c5a4aa741 100644 --- a/scripts/ssh.pm +++ b/scripts/ssh.pm @@ -32,6 +32,6 @@ sub closeSSHConnection { } } -END { closeSSHConnection; } +END { my $saved = $?; closeSSHConnection; $? = $saved; } return 1; |