aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/smokeping/files
diff options
context:
space:
mode:
authorrodrigo <rodrigo@FreeBSD.org>2015-06-14 17:16:57 +0800
committerrodrigo <rodrigo@FreeBSD.org>2015-06-14 17:16:57 +0800
commit376f696741415c6d84d9b616cd339b8e975d33b6 (patch)
treec081627650e02648b40ed71dc4795a97184b51d8 /net-mgmt/smokeping/files
parent27f42e8608867802d031836e07f1e7dd481cca89 (diff)
downloadfreebsd-ports-gnome-376f696741415c6d84d9b616cd339b8e975d33b6.tar.gz
freebsd-ports-gnome-376f696741415c6d84d9b616cd339b8e975d33b6.tar.zst
freebsd-ports-gnome-376f696741415c6d84d9b616cd339b8e975d33b6.zip
Fix smokeping rc.d script who fails to check pid correctly
PR: 198736 Submitted by: vince@unsane.co.uk
Diffstat (limited to 'net-mgmt/smokeping/files')
-rw-r--r--net-mgmt/smokeping/files/smokeping.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/smokeping/files/smokeping.in b/net-mgmt/smokeping/files/smokeping.in
index d23c8fa64be5..d2011e7a6414 100644
--- a/net-mgmt/smokeping/files/smokeping.in
+++ b/net-mgmt/smokeping/files/smokeping.in
@@ -51,7 +51,7 @@ smokeping_startprecmd()
smokeping_status()
{
- rc_pid=$(check_pidfile $pidfile $command)
+ rc_pid=$(check_pidfile $pidfile $command $command_interpreter)
if [ -z "$rc_pid" ]; then
_run_rc_notrunning
else
@@ -71,7 +71,7 @@ smokeping_reload()
smokeping_stop()
{
- rc_pid=$(check_pidfile $pidfile $command)
+ rc_pid=$(check_pidfile $pidfile $command $command_interpreter)
if [ -z "$rc_pid" ]; then
_run_rc_notrunning
else