diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -372,7 +372,7 @@ grace_alarm_handler(int sig) | |||
372 | */ | 372 | */ |
373 | if (getpgid(0) == getpid()) { | 373 | if (getpgid(0) == getpid()) { |
374 | signal(SIGTERM, SIG_IGN); | 374 | signal(SIGTERM, SIG_IGN); |
375 | killpg(0, SIGTERM); | 375 | kill(0, SIGTERM); |
376 | } | 376 | } |
377 | 377 | ||
378 | /* Log error and exit. */ | 378 | /* Log error and exit. */ |