Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jan 2018 11:27:22 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r457847 - in head/net/asterisk13: . files
Message-ID:  <201801021127.w02BRMRK010730@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Tue Jan  2 11:27:22 2018
New Revision: 457847
URL: https://svnweb.freebsd.org/changeset/ports/457847

Log:
  Fix error in conditional in asterisk rc script.
  
  PR:		224833
  Submitted by:	Robert Ames <robertames@hotmail.com>
  MFH:		2018Q1

Modified:
  head/net/asterisk13/Makefile
  head/net/asterisk13/files/asterisk.in

Modified: head/net/asterisk13/Makefile
==============================================================================
--- head/net/asterisk13/Makefile	Tue Jan  2 10:55:11 2018	(r457846)
+++ head/net/asterisk13/Makefile	Tue Jan  2 11:27:22 2018	(r457847)
@@ -2,6 +2,7 @@
 
 PORTNAME=	asterisk
 PORTVERSION=	13.18.5
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729
 MASTER_SITE_SUBDIR=	asterisk/ \

Modified: head/net/asterisk13/files/asterisk.in
==============================================================================
--- head/net/asterisk13/files/asterisk.in	Tue Jan  2 10:55:11 2018	(r457846)
+++ head/net/asterisk13/files/asterisk.in	Tue Jan  2 11:27:22 2018	(r457847)
@@ -61,7 +61,7 @@ asterisk_stop()
 		return 1
 	fi
 	echo 'Stopping asterisk.'
-	if [ ${asterisk_stopsleep} > 0 ]; then
+	if [ ${asterisk_stopsleep} -gt 0 ]; then
 		sleep ${asterisk_stopsleep}
 	fi
 	$command -nqrx 'core stop now'



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