summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sshd.c b/sshd.c
index 4aa1c98ed..0a76f2d3a 100644
--- a/sshd.c
+++ b/sshd.c
@@ -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));