summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--clientloop.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/clientloop.c b/clientloop.c
index b6443ced8..248c9541f 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: clientloop.c,v 1.300 2017/06/23 07:24:48 mestre Exp $ */ 1/* $OpenBSD: clientloop.c,v 1.301 2017/07/14 03:18:21 dtucker Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1418,8 +1418,10 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id)
1418 exit_status = 0; 1418 exit_status = 0;
1419 } 1419 }
1420 1420
1421 if (received_signal) 1421 if (received_signal) {
1422 fatal("Killed by signal %d.", (int) received_signal); 1422 verbose("Killed by signal %d.", (int) received_signal);
1423 cleanup_exit(0);
1424 }
1423 1425
1424 /* 1426 /*
1425 * In interactive mode (with pseudo tty) display a message indicating 1427 * In interactive mode (with pseudo tty) display a message indicating