diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2023-03-31 06:45:08 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2023-03-31 07:17:46 +0200 |
commit | 6b73aa29035991d1448a1a76f63ac152a6bf931c (patch) | |
tree | 6c3f97e53c7357ffd4a80113877c12514056e237 /sftp.c | |
parent | upstream: Return immediately from get_sock_port (diff) | |
download | openssh-6b73aa29035991d1448a1a76f63ac152a6bf931c.tar.xz openssh-6b73aa29035991d1448a1a76f63ac152a6bf931c.zip |
upstream: Explictly ignore return codes
where we don't check them.
OpenBSD-Commit-ID: 1ffb03038ba1b6b72667be50cf5e5e396b5f2740
Diffstat (limited to 'sftp.c')
-rw-r--r-- | sftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: sftp.c,v 1.231 2023/03/29 00:59:08 dtucker Exp $ */ +/* $OpenBSD: sftp.c,v 1.232 2023/03/31 04:45:08 dtucker Exp $ */ /* * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> * @@ -225,7 +225,7 @@ killchild(int signo) pid = sshpid; if (pid > 1) { kill(pid, SIGTERM); - waitpid(pid, NULL, 0); + (void)waitpid(pid, NULL, 0); } _exit(1); |