artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e5f171
)
return non-zero exit status when killed by signal; bz#3281
author
djm
<djm@openbsd.org>
Fri, 19 Mar 2021 02:22:34 +0000
(
02:22
+0000)
committer
djm
<djm@openbsd.org>
Fri, 19 Mar 2021 02:22:34 +0000
(
02:22
+0000)
ok dtucker@
usr.bin/ssh/clientloop.c
patch
|
blob
|
history
diff --git
a/usr.bin/ssh/clientloop.c
b/usr.bin/ssh/clientloop.c
index
563a23f
..
9fcf12e
100644
(file)
--- a/
usr.bin/ssh/clientloop.c
+++ b/
usr.bin/ssh/clientloop.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: clientloop.c,v 1.35
8 2021/01/27 10:05:28
djm Exp $ */
+/* $OpenBSD: clientloop.c,v 1.35
9 2021/03/19 02:22:34
djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@
-1415,7
+1415,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
);
}
/*