diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2020-07-03 10:10:18 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2020-07-03 10:10:18 +0000 |
commit | 6ba09a7079e003c2bb877cd348c9c9b51c551097 (patch) | |
tree | 49ececfeb6fe813edc42e32490a839e1a1e06285 /usr.bin/ssh | |
parent | 72b1ca4b8935157d2e5acebb540255dacef2f8de (diff) |
don't exit the listener on send_rexec_state errors; ok djm
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r-- | usr.bin/ssh/sshd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c index 40487cafca4..38c573017b6 100644 --- a/usr.bin/ssh/sshd.c +++ b/usr.bin/ssh/sshd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshd.c,v 1.557 2020/06/18 23:34:19 djm Exp $ */ +/* $OpenBSD: sshd.c,v 1.558 2020/07/03 10:10:17 markus Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -920,7 +920,7 @@ send_rexec_state(int fd, struct sshbuf *conf) (r = sshbuf_put_stringb(m, inc)) != 0) fatal("%s: buffer error: %s", __func__, ssh_err(r)); if (ssh_msg_send(fd, 0, m) == -1) - fatal("%s: ssh_msg_send failed", __func__); + error("%s: ssh_msg_send failed", __func__); sshbuf_free(m); sshbuf_free(inc); |