Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jun 2015 09:16:57 +0000 (UTC)
From:      Rodrigo Osorio <rodrigo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r389609 - in head/net-mgmt/smokeping: . files
Message-ID:  <201506140916.t5E9GvH8074540@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rodrigo
Date: Sun Jun 14 09:16:57 2015
New Revision: 389609
URL: https://svnweb.freebsd.org/changeset/ports/389609

Log:
  Fix smokeping rc.d script who fails to check pid correctly
  
  PR:		198736
  Submitted by:	vince@unsane.co.uk

Modified:
  head/net-mgmt/smokeping/Makefile
  head/net-mgmt/smokeping/files/smokeping.in

Modified: head/net-mgmt/smokeping/Makefile
==============================================================================
--- head/net-mgmt/smokeping/Makefile	Sun Jun 14 09:14:40 2015	(r389608)
+++ head/net-mgmt/smokeping/Makefile	Sun Jun 14 09:16:57 2015	(r389609)
@@ -3,7 +3,7 @@
 
 PORTNAME=	smokeping
 PORTVERSION=	2.6.11
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net-mgmt www
 MASTER_SITES=	http://oss.oetiker.ch/smokeping/pub/ \
 		http://smokeping.cs.pu.edu.tw/pub/

Modified: head/net-mgmt/smokeping/files/smokeping.in
==============================================================================
--- head/net-mgmt/smokeping/files/smokeping.in	Sun Jun 14 09:14:40 2015	(r389608)
+++ head/net-mgmt/smokeping/files/smokeping.in	Sun Jun 14 09:16:57 2015	(r389609)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506140916.t5E9GvH8074540>