summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sshd.c b/sshd.c
index 8996e0e83..44772c6dd 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1896,16 +1896,6 @@ main(int ac, char **av)
1896 } 1896 }
1897 } 1897 }
1898 1898
1899 if (getenv("SSH_SIGSTOP")) {
1900 /* Tell service supervisor that we are ready. */
1901 kill(getpid(), SIGSTOP);
1902 /* The service supervisor only ever expects a single
1903 * STOP signal, so do not ever signal it again, even
1904 * in the case of a re-exec or future children.
1905 */
1906 unsetenv("SSH_SIGSTOP");
1907 }
1908
1909#ifdef HAVE_SYSTEMD 1899#ifdef HAVE_SYSTEMD
1910 /* Signal systemd that we are ready to accept connections */ 1900 /* Signal systemd that we are ready to accept connections */
1911 sd_notify(0, "READY=1"); 1901 sd_notify(0, "READY=1");