From: Joshua Colp Date: Mon, 2 Oct 2006 19:39:59 +0000 (+0000) Subject: We should be using $AST_SBIN instead of hardcoding the path for the error message... X-Git-Tag: 1.2.13~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e7a5bfc7313bf2f18f1430c4205486d7233759b;p=thirdparty%2Fasterisk.git We should be using $AST_SBIN instead of hardcoding the path for the error message (issue #7942 reported by eclubb) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@44198 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/contrib/init.d/rc.redhat.asterisk b/contrib/init.d/rc.redhat.asterisk index 32dc8e0c69..9ce3ca4e73 100755 --- a/contrib/init.d/rc.redhat.asterisk +++ b/contrib/init.d/rc.redhat.asterisk @@ -38,7 +38,7 @@ AST_SBIN=/usr/sbin . /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