summaryrefslogtreecommitdiffstats
path: root/net-mgmt/nrpe/files/nrpe2.in
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/nrpe/files/nrpe2.in')
-rw-r--r--net-mgmt/nrpe/files/nrpe2.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/net-mgmt/nrpe/files/nrpe2.in b/net-mgmt/nrpe/files/nrpe2.in
index 59f94fa..18ce7a0 100644
--- a/net-mgmt/nrpe/files/nrpe2.in
+++ b/net-mgmt/nrpe/files/nrpe2.in
@@ -48,6 +48,7 @@ nrpe2_prestart()
{
find_pidfile
install -d -o ${nrpe_user:-nagios} ${pidfile%/*}
+ rm -f ${pidfile}
}
run_rc_command "$1"
OpenPOWER on IntegriCloud