summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--clientloop.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/clientloop.c b/clientloop.c
index 046ca8b7c..0180774bb 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -1705,8 +1705,10 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id)
1705 exit_status = 0; 1705 exit_status = 0;
1706 } 1706 }
1707 1707
1708 if (received_signal) 1708 if (received_signal) {
1709 fatal("Killed by signal %d.", (int) received_signal); 1709 debug("Killed by signal %d.", (int) received_signal);
1710 cleanup_exit((int) received_signal + 128);
1711 }
1710 1712
1711 /* 1713 /*
1712 * In interactive mode (with pseudo tty) display a message indicating 1714 * In interactive mode (with pseudo tty) display a message indicating