From eae5f9e9f32e337825a4944f8c0fe40bc5f8cc53 Mon Sep 17 00:00:00 2001 From: sthen <> Date: Sat, 25 Jan 2020 12:05:08 +0000 Subject: [PATCH] sync rc.d/sshd with sshd proctitle change - listener has been modified to keep command-line arguments again; ok aja@ djm@ --- src/etc/rc.d/sshd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/rc.d/sshd b/src/etc/rc.d/sshd index 3c154f1e..94cc554a 100644 --- a/src/etc/rc.d/sshd +++ b/src/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}"