diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshd.c,v 1.348 2006/11/06 21:25:28 markus Exp $ */ | 1 | /* $OpenBSD: sshd.c,v 1.349 2007/02/21 11:00:05 dtucker Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -305,6 +305,7 @@ sighup_restart(void) | |||
305 | logit("Received SIGHUP; restarting."); | 305 | logit("Received SIGHUP; restarting."); |
306 | close_listen_socks(); | 306 | close_listen_socks(); |
307 | close_startup_pipes(); | 307 | close_startup_pipes(); |
308 | alarm(0); /* alarm timer persists across exec */ | ||
308 | execv(saved_argv[0], saved_argv); | 309 | execv(saved_argv[0], saved_argv); |
309 | logit("RESTART FAILED: av[0]='%.100s', error: %.100s.", saved_argv[0], | 310 | logit("RESTART FAILED: av[0]='%.100s', error: %.100s.", saved_argv[0], |
310 | strerror(errno)); | 311 | strerror(errno)); |