mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 08:31:02 +00:00
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.2@44198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user