diff options
Diffstat (limited to 'clientloop.c')
-rw-r--r-- | clientloop.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/clientloop.c b/clientloop.c index 9e45d24e0..5c2b7217f 100644 --- a/clientloop.c +++ b/clientloop.c | |||
@@ -1721,8 +1721,10 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id) | |||
1721 | exit_status = 0; | 1721 | exit_status = 0; |
1722 | } | 1722 | } |
1723 | 1723 | ||
1724 | if (received_signal) | 1724 | if (received_signal) { |
1725 | fatal("Killed by signal %d.", (int) received_signal); | 1725 | debug("Killed by signal %d.", (int) received_signal); |
1726 | cleanup_exit((int) received_signal + 128); | ||
1727 | } | ||
1726 | 1728 | ||
1727 | /* | 1729 | /* |
1728 | * In interactive mode (with pseudo tty) display a message indicating | 1730 | * In interactive mode (with pseudo tty) display a message indicating |