From e7e85a8471e4a14c904f78a1c7248d4d78312bb6 Mon Sep 17 00:00:00 2001
From: Joshua Colp <jcolp@digium.com>
Date: Mon, 2 Oct 2006 19:43:00 +0000
Subject: [PATCH] Merged revisions 44199 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r44199 | file | 2006-10-02 15:41:39 -0400 (Mon, 02 Oct 2006) | 10 lines

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/trunk@44200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 contrib/init.d/rc.redhat.asterisk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 
-- 
GitLab