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 421241f74..e5cc3f8cb 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -1757,8 +1757,10 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id)
1757 exit_status = 0; 1757 exit_status = 0;
1758 } 1758 }
1759 1759
1760 if (received_signal) 1760 if (received_signal) {
1761 fatal("Killed by signal %d.", (int) received_signal); 1761 debug("Killed by signal %d.", (int) received_signal);
1762 cleanup_exit((int) received_signal + 128);
1763 }
1762 1764
1763 /* 1765 /*
1764 * In interactive mode (with pseudo tty) display a message indicating 1766 * In interactive mode (with pseudo tty) display a message indicating