From: cirillor Date: Sat, 9 Mar 2019 14:39:26 +0000 (-0300) Subject: Variable ALTCONF ignored when service is used in Debian X-Git-Tag: 17.0.0-rc1~138^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d5409912fcc002324b2a5f9f83ba4f062748f03;p=thirdparty%2Fasterisk.git Variable ALTCONF ignored when service is used in Debian When variable ALTCONF is defined, the command start prints the message "Unable to open specified master config file '"/etc/asterisk/asteris..." and use default configurations. ASTERISK-28332 Change-Id: I7595e582a0ee2c1051ea35435e247e27906957ef --- diff --git a/contrib/init.d/rc.debian.asterisk b/contrib/init.d/rc.debian.asterisk index 6c1474ac88..c58ab23be8 100755 --- a/contrib/init.d/rc.debian.asterisk +++ b/contrib/init.d/rc.debian.asterisk @@ -85,7 +85,7 @@ case "$1" in chgrp $AST_GROUP $ASTVARRUNDIR fi if [ $ALTCONF ]; then - ASTARGS="$ASTARGS -C \"$ALTCONF\"" + ASTARGS="$ASTARGS -C $ALTCONF" fi if [ "x$COREDUMP" = "xyes" ]; then ASTARGS="$ASTARGS -g"