summaryrefslogtreecommitdiff
path: root/etc/rc.d/sshd
diff options
context:
space:
mode:
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 dc3d58d506a..8ea6f579313 100644
--- a/etc/rc.d/sshd
+++ b/etc/rc.d/sshd
@@ -1,13 +1,13 @@
#!/bin/sh
#
-# $OpenBSD: sshd,v 1.2 2013/02/05 00:26:31 halex Exp $
+# $OpenBSD: sshd,v 1.3 2015/07/15 13:50:54 ajacoutot Exp $
daemon="/usr/sbin/sshd"
. /etc/rc.d/rc.subr
rc_reload() {
- ${daemon} ${daemon_flags} -t && pkill -HUP -f "^${pexp}"
+ ${daemon} ${daemon_flags} -t && pkill -HUP -xf "${pexp}"
}
rc_cmd $1