[openssh-commits] [openssh] 01/01: upstream: return non-zero exit status when killed by signal; bz#3281 ok
git+noreply at mindrot.org
git+noreply at mindrot.org
Fri Mar 19 13:26:27 AEDT 2021
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit 8a9520836e71830f4fccca066dba73fea3d16bda
Author: djm at openbsd.org <djm at openbsd.org>
Date: Fri Mar 19 02:22:34 2021 +0000
upstream: return non-zero exit status when killed by signal; bz#3281 ok
dtucker@
OpenBSD-Commit-ID: 117b31cf3c807993077b596bd730c24da9e9b816
---
clientloop.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/clientloop.c b/clientloop.c
index 70f492f8..941c150f 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clientloop.c,v 1.358 2021/01/27 10:05:28 djm Exp $ */
+/* $OpenBSD: clientloop.c,v 1.359 2021/03/19 02:22:34 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo at cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo at cs.hut.fi>, Espoo, Finland
@@ -1423,7 +1423,7 @@ client_loop(struct ssh *ssh, int have_pty, int escape_char_arg,
if (received_signal) {
verbose("Killed by signal %d.", (int) received_signal);
- cleanup_exit(0);
+ cleanup_exit(255);
}
/*
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list