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