diff options
author | mandree <mandree@FreeBSD.org> | 2014-03-14 05:24:01 +0800 |
---|---|---|
committer | mandree <mandree@FreeBSD.org> | 2014-03-14 05:24:01 +0800 |
commit | 7fbf3d74c66da602e46b5bef87fd22ef04d6c701 (patch) | |
tree | 224b6478b3828cf97d6c7fa737404786338ce91e /net-mgmt | |
parent | d7ac483d212ebea9d3e2a00b27059e2c4bbc9edb (diff) | |
download | freebsd-ports-gnome-7fbf3d74c66da602e46b5bef87fd22ef04d6c701.tar.gz freebsd-ports-gnome-7fbf3d74c66da602e46b5bef87fd22ef04d6c701.tar.zst freebsd-ports-gnome-7fbf3d74c66da602e46b5bef87fd22ef04d6c701.zip |
Fix acquisition of pidfile location.
PR: ports/186837
Submitted by: Daniel Ylitalo <daniel@203webgroup.se>
Approved by: zeising (maintainer)
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/nrpe/files/nrpe2.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net-mgmt/nrpe/files/nrpe2.in b/net-mgmt/nrpe/files/nrpe2.in index 52a851373db3..59f94fa5847b 100644 --- a/net-mgmt/nrpe/files/nrpe2.in +++ b/net-mgmt/nrpe/files/nrpe2.in @@ -37,7 +37,7 @@ find_pidfile() [ -n "$nrpe2_pidfile" ] && warn "No longer necessary to set nrpe2_pidfile in rc.conf[.local]" - if get_pidfile_from_conf pid_file %%PREFIX%%/etc/nrpe.cfg; then + if get_pidfile_from_conf pid_file ${nrpe2_configfile}; then pidfile="$_pidfile_from_conf" else pidfile='%%PIDDIR%%/nrpe2.pid' |