[Asterisk-code-review] Variable ALTCONF ignored when service is	used in Debian (...asterisk[13])
    Friendly Automation 
    asteriskteam at digium.com
       
    Mon Mar 18 05:34:55 CDT 2019
    
    
  
Friendly Automation has submitted this change and it was merged. ( https://gerrit.asterisk.org/c/asterisk/+/11125 )
Change subject: Variable ALTCONF ignored when service is used in Debian
......................................................................
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
---
M contrib/init.d/rc.debian.asterisk
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
  Kevin Harwell: Looks good to me, but someone else must approve
  Benjamin Keith Ford: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved
  Friendly Automation: Approved for Submit
diff --git a/contrib/init.d/rc.debian.asterisk b/contrib/init.d/rc.debian.asterisk
index 6c1474a..c58ab23 100755
--- a/contrib/init.d/rc.debian.asterisk
+++ b/contrib/init.d/rc.debian.asterisk
@@ -85,7 +85,7 @@
 		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"
-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/11125
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Change-Id: I7595e582a0ee2c1051ea35435e247e27906957ef
Gerrit-Change-Number: 11125
Gerrit-PatchSet: 1
Gerrit-Owner: Cirillo Ferreira <cirillor at lbv.org.br>
Gerrit-Reviewer: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20190318/f9b35362/attachment.html>
    
    
More information about the asterisk-code-review
mailing list