From ff3a411cae0b484274b7900ef52ff4dad3e12876 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Tue, 2 Oct 2018 22:49:40 +1000 Subject: only support SIGINFO on systems with SIGINFO --- session.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/session.c b/session.c index 63adc68c5..c5ca0556e 100644 --- a/session.c +++ b/session.c @@ -2120,8 +2120,10 @@ name2sig(char *name) SSH_SIG(USR1); SSH_SIG(USR2); #undef SSH_SIG +#ifdef SIGINFO if (strcmp(name, "INFO@openssh.com") == 0) return SIGINFO; +#endif return -1; } -- cgit v1.2.3