summaryrefslogtreecommitdiff
path: root/clientloop.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2021-08-29 23:44:07 +0000
committerDamien Miller <djm@mindrot.org>2021-08-30 09:58:15 +1000
commit56c4455d3b54b7d481c77c82115c830b9c8ce328 (patch)
tree584e0751e53c0f91397b7ddfae9dbf8e89a6c9d8 /clientloop.c
parent95401eea8503943449f712e5f3de52fc0bc612c5 (diff)
downloadopenssh-git-56c4455d3b54b7d481c77c82115c830b9c8ce328.tar.gz
upstream: wrap at 80 columns
OpenBSD-Commit-ID: 47ca2286d6b52a9747f34da16d742879e1a37bf0
Diffstat (limited to 'clientloop.c')
-rw-r--r--clientloop.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/clientloop.c b/clientloop.c
index bfcd50c2..da14d150 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clientloop.c,v 1.369 2021/07/23 04:04:52 djm Exp $ */
+/* $OpenBSD: clientloop.c,v 1.370 2021/08/29 23:44:07 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1405,7 +1405,8 @@ client_loop(struct ssh *ssh, int have_pty, int escape_char_arg,
* exit status to be returned. In that case, clear error code if the
* connection was deliberately terminated at this end.
*/
- if (options.session_type == SESSION_TYPE_NONE && received_signal == SIGTERM) {
+ if (options.session_type == SESSION_TYPE_NONE &&
+ received_signal == SIGTERM) {
received_signal = 0;
exit_status = 0;
}