aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-02 19:39:59 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-02 19:39:59 +0000
commitbaf81a207b33fb2e159a9e30edb88aa0c859e502 (patch)
tree47f00ae761501ee4f6d5294d242d74902074ade7 /contrib
parent50f4c57f5c03e7cf81b8ab03961ea44e837f6a87 (diff)
We should be using $AST_SBIN instead of hardcoding the path for the error message (issue #7942 reported by eclubb)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@44198 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/init.d/rc.redhat.asterisk2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/init.d/rc.redhat.asterisk b/contrib/init.d/rc.redhat.asterisk
index 32dc8e0c6..9ce3ca4e7 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