[asterisk-commits] file: branch 1.2 r44198 - /branches/1.2/contrib/init.d/rc.redhat.asterisk

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Oct 2 12:39:59 MST 2006


Author: file
Date: Mon Oct  2 14:39:59 2006
New Revision: 44198

URL: http://svn.digium.com/view/asterisk?rev=44198&view=rev
Log:
We should be using $AST_SBIN instead of hardcoding the path for the error message (issue #7942 reported by eclubb)

Modified:
    branches/1.2/contrib/init.d/rc.redhat.asterisk

Modified: branches/1.2/contrib/init.d/rc.redhat.asterisk
URL: http://svn.digium.com/view/asterisk/branches/1.2/contrib/init.d/rc.redhat.asterisk?rev=44198&r1=44197&r2=44198&view=diff
==============================================================================
--- branches/1.2/contrib/init.d/rc.redhat.asterisk (original)
+++ branches/1.2/contrib/init.d/rc.redhat.asterisk Mon Oct  2 14:39:59 2006
@@ -38,7 +38,7 @@
 . /etc/rc.d/init.d/functions
 
 if ! [ -x $AST_SBIN/asterisk ] ; then
-	echo "ERROR: /usr/sbin/asterisk not found"
+	echo "ERROR: $AST_SBIN/asterisk not found"
 	exit 0
 fi
 



More information about the asterisk-commits mailing list