From: Tilghman Lesher Date: Tue, 28 Mar 2006 17:48:18 +0000 (+0000) Subject: Bug 6815 - Adding quotes to make bash happy X-Git-Tag: 1.2.7~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=469e6d539a43e5e4bb02fc91afd1ab0a545d0515;p=thirdparty%2Fasterisk.git Bug 6815 - Adding quotes to make bash happy git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@15615 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/contrib/init.d/rc.redhat.asterisk b/contrib/init.d/rc.redhat.asterisk index 615ec27465..32dc8e0c69 100755 --- a/contrib/init.d/rc.redhat.asterisk +++ b/contrib/init.d/rc.redhat.asterisk @@ -43,7 +43,7 @@ if ! [ -x $AST_SBIN/asterisk ] ; then fi if ! [ -d $AST_CONFIG ] ; then - echo "ERROR: /etc/asterisk directory not found" + echo "ERROR: $AST_CONFIG directory not found" exit 0 fi @@ -58,7 +58,7 @@ SAFE_ASTERISK=$AST_SBIN/safe_asterisk # Allow configuration overrides in /etc/sysconfig/asterisk CONFIG0=`readlink $0` -if [ $CONFIG0 = "" ]; then +if [ "$CONFIG0" = "" ]; then CONFIGFILE=/etc/sysconfig/`basename $0` else CONFIGFILE=/etc/sysconfig/`basename $CONFIG0`