[openssh-commits] [openssh] 03/06: return result of raise(2); GHPR681 from metsw24-max

git+noreply at mindrot.org git+noreply at mindrot.org
Mon Jun 29 17:52:19 AEST 2026


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 9d5238f44dda8d9455c085f51f2fb00774f69d38
Author: Damien Miller <djm at mindrot.org>
AuthorDate: Mon Jun 29 17:17:28 2026 +1000

    return result of raise(2); GHPR681 from metsw24-max
    
    ok dtucker
---
 openbsd-compat/bsd-misc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openbsd-compat/bsd-misc.c b/openbsd-compat/bsd-misc.c
index d5cc3755c..de5ac2158 100644
--- a/openbsd-compat/bsd-misc.c
+++ b/openbsd-compat/bsd-misc.c
@@ -455,7 +455,7 @@ bzero(void *b, size_t n)
 int
 raise(int sig)
 {
-	kill(getpid(), sig);
+	return kill(getpid(), sig);
 }
 #endif
 

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list