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 c9176c0d7..6a35c8e3e 100644 --- a/clientloop.c +++ b/clientloop.c | |||
@@ -1505,8 +1505,10 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id) | |||
1505 | exit_status = 0; | 1505 | exit_status = 0; |
1506 | } | 1506 | } |
1507 | 1507 | ||
1508 | if (received_signal) | 1508 | if (received_signal) { |
1509 | fatal("Killed by signal %d.", (int) received_signal); | 1509 | debug("Killed by signal %d.", (int) received_signal); |
1510 | cleanup_exit((int) received_signal + 128); | ||
1511 | } | ||
1510 | 1512 | ||
1511 | /* | 1513 | /* |
1512 | * In interactive mode (with pseudo tty) display a message indicating | 1514 | * In interactive mode (with pseudo tty) display a message indicating |