mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
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…
x
Reference in New Issue
Block a user