summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2020-01-25 12:05:08 +0000
committersthen <sthen@openbsd.org>2020-01-25 12:05:08 +0000
commit99ca1a57257cd409964f8f05f3d02f6419d412d9 (patch)
tree79cab5ebce967f64a3130b8d62488ceb12b4217a /etc
parentunifdef sigchase. It is deprecated and never enabled on openbsd. (diff)
downloadwireguard-openbsd-99ca1a57257cd409964f8f05f3d02f6419d412d9.tar.xz
wireguard-openbsd-99ca1a57257cd409964f8f05f3d02f6419d412d9.zip
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')
-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}"