diff options
author | Damien Miller <djm@mindrot.org> | 2018-10-02 22:49:40 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2018-10-02 22:49:40 +1000 |
commit | ff3a411cae0b484274b7900ef52ff4dad3e12876 (patch) | |
tree | 84ab2118d139886eeb9368fdf4e99fc5b394ad5b /session.c | |
parent | cd98925c6405e972dc9f211afc7e75e838abe81c (diff) |
only support SIGINFO on systems with SIGINFO
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2120,8 +2120,10 @@ name2sig(char *name) | |||
2120 | SSH_SIG(USR1); | 2120 | SSH_SIG(USR1); |
2121 | SSH_SIG(USR2); | 2121 | SSH_SIG(USR2); |
2122 | #undef SSH_SIG | 2122 | #undef SSH_SIG |
2123 | #ifdef SIGINFO | ||
2123 | if (strcmp(name, "INFO@openssh.com") == 0) | 2124 | if (strcmp(name, "INFO@openssh.com") == 0) |
2124 | return SIGINFO; | 2125 | return SIGINFO; |
2126 | #endif | ||
2125 | return -1; | 2127 | return -1; |
2126 | } | 2128 | } |
2127 | 2129 | ||