summaryrefslogtreecommitdiff
path: root/etc/rc.d/sshd
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2020-01-25 12:05:09 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2020-01-25 12:05:09 +0000
commit05deae6ac23ae0cb6a8e5f2bcdbd55c709cafdbf (patch)
treeb54ee08b7c30461426f454635c79b2c099399e01 /etc/rc.d/sshd
parentf3a414e4ccbf5fe9b09a3bcc005aeb9b82308b13 (diff)
sync rc.d/sshd with sshd proctitle change - listener has been modified to
keep command-line arguments again; ok aja@ djm@
Diffstat (limited to 'etc/rc.d/sshd')
-rw-r--r--etc/rc.d/sshd4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/sshd b/etc/rc.d/sshd
index 3c154f1e19b..94cc554a9ed 100644
--- a/etc/rc.d/sshd
+++ b/etc/rc.d/sshd
@@ -1,12 +1,12 @@
#!/bin/ksh
#
-# $OpenBSD: sshd,v 1.5 2020/01/22 13:14:51 sthen Exp $
+# $OpenBSD: sshd,v 1.6 2020/01/25 12:05:08 sthen Exp $
daemon="/usr/sbin/sshd"
. /etc/rc.d/rc.subr
-pexp="sshd: \[listener\].*"
+pexp="sshd: ${daemon}${daemon_flags:+ ${daemon_flags}} \[listener\].*"
rc_reload() {
${daemon} ${daemon_flags} -t && pkill -HUP -xf "${pexp}"