only support SIGINFO on systems with SIGINFO

This commit is contained in:
Damien Miller 2018-10-02 22:49:40 +10:00
parent cd98925c64
commit ff3a411cae
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}