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