From: Joshua Colp Date: Mon, 2 Oct 2006 19:41:39 +0000 (+0000) Subject: Merged revisions 44198 via svnmerge from X-Git-Tag: 1.4.0-beta3~100 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0cc2b24ea6f0b7e9635c11f194a2c60aa52c1927;p=thirdparty%2Fasterisk.git Merged revisions 44198 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r44198 | file | 2006-10-02 15:39:59 -0400 (Mon, 02 Oct 2006) | 2 lines 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.4@44199 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