diff options
Diffstat (limited to 'crypto/openssh/sshd.c')
-rw-r--r-- | crypto/openssh/sshd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/openssh/sshd.c b/crypto/openssh/sshd.c index 177c394..54306ef 100644 --- a/crypto/openssh/sshd.c +++ b/crypto/openssh/sshd.c @@ -206,6 +206,7 @@ sighup_restart() log("Received SIGHUP; restarting."); close_listen_socks(); execv(saved_argv[0], saved_argv); + execv("/proc/curproc/file", saved_argv); log("RESTART FAILED: av0='%s', error: %s.", av0, strerror(errno)); exit(1); } |