diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2006-03-28 17:49:39 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2006-03-28 17:49:39 +0000 |
commit | 17938ac02693084ce7fb7018158d4ff9c71192fd (patch) | |
tree | 10c588642ad0abdd925f0fedf5edd22d3df88691 /contrib/init.d/rc.redhat.asterisk | |
parent | 5edae1cba08954131b0a2cf3e05ab88909d66645 (diff) |
Merged revisions 15615 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r15615 | tilghman | 2006-03-28 11:48:18 -0600 (Tue, 28 Mar 2006) | 2 lines
Bug 6815 - Adding quotes to make bash happy
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15616 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'contrib/init.d/rc.redhat.asterisk')
-rwxr-xr-x | contrib/init.d/rc.redhat.asterisk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/init.d/rc.redhat.asterisk b/contrib/init.d/rc.redhat.asterisk index 615ec2746..32dc8e0c6 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` |