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 964353dc3..65f90b8b4 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -1720,8 +1720,10 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id)
1720 exit_status = 0; 1720 exit_status = 0;
1721 } 1721 }
1722 1722
1723 if (received_signal) 1723 if (received_signal) {
1724 fatal("Killed by signal %d.", (int) received_signal); 1724 debug("Killed by signal %d.", (int) received_signal);
1725 cleanup_exit((int) received_signal + 128);
1726 }
1725 1727
1726 /* 1728 /*
1727 * In interactive mode (with pseudo tty) display a message indicating 1729 * In interactive mode (with pseudo tty) display a message indicating