summaryrefslogtreecommitdiff
path: root/clientloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'clientloop.c')
-rw-r--r--clientloop.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/clientloop.c b/clientloop.c
index 1567e4a2f..3b6cacb08 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -1753,8 +1753,10 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id)
1753 exit_status = 0; 1753 exit_status = 0;
1754 } 1754 }
1755 1755
1756 if (received_signal) 1756 if (received_signal) {
1757 fatal("Killed by signal %d.", (int) received_signal); 1757 debug("Killed by signal %d.", (int) received_signal);
1758 cleanup_exit((int) received_signal + 128);
1759 }
1758 1760
1759 /* 1761 /*
1760 * In interactive mode (with pseudo tty) display a message indicating 1762 * In interactive mode (with pseudo tty) display a message indicating