summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2017-08-22 16:19:50 +0100
committerColin Watson <cjwatson@debian.org>2017-08-22 16:19:50 +0100
commit945ac1262b4d0745d4f2fd4093b85fc66cf777b8 (patch)
tree7d26ad576d472130ccdc791d5af72c7172a3fd36 /sshd.c
parentb4fc0d329c03de1c38dc3f908a10f7239c32a05c (diff)
parentf62d1568c95ad1ad193b95d61e6e93baf8b935a0 (diff)
Drop Upstart-specific patches
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");