summaryrefslogtreecommitdiff
path: root/manifests/openbsd.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/openbsd.pp')
-rw-r--r--manifests/openbsd.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/openbsd.pp b/manifests/openbsd.pp
index 16ba284..cb6dbba 100644
--- a/manifests/openbsd.pp
+++ b/manifests/openbsd.pp
@@ -3,6 +3,6 @@ class sshd::openbsd inherits sshd::base {
restart => '/bin/kill -HUP `/bin/cat /var/run/sshd.pid`',
stop => '/bin/kill `/bin/cat /var/run/sshd.pid`',
start => '/usr/sbin/sshd',
- status => '/usr/bin/pgrep -P `/bin/cat /var/run/sshd.pid`',
+ status => '/usr/bin/pgrep -f /usr/sbin/sshd',
}
}