only support SIGINFO on systems with SIGINFO
This commit is contained in:
parent
cd98925c64
commit
ff3a411cae
|
@ -2120,8 +2120,10 @@ name2sig(char *name)
|
||||||
SSH_SIG(USR1);
|
SSH_SIG(USR1);
|
||||||
SSH_SIG(USR2);
|
SSH_SIG(USR2);
|
||||||
#undef SSH_SIG
|
#undef SSH_SIG
|
||||||
|
#ifdef SIGINFO
|
||||||
if (strcmp(name, "INFO@openssh.com") == 0)
|
if (strcmp(name, "INFO@openssh.com") == 0)
|
||||||
return SIGINFO;
|
return SIGINFO;
|
||||||
|
#endif
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue