[asterisk-commits] tzafrir: branch 12 r404911 - in /branches/12: ./ main/asterisk.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sat Jan 4 04:42:30 CST 2014
Author: tzafrir
Date: Sat Jan 4 04:42:18 2014
New Revision: 404911
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=404911
Log:
asterisk.c: suppress live_dangerously warning on rasterisk
Even since the fixes of AST-2013-007, Asterisk prints the following
warning on startup if the user decided to live dangerously:
Privilege escalation protection disabled!
See https://wiki.asterisk.org/wiki/x/1gKfAQ for more details.
This message is intended for the logs and interactive startup. No need
for it to appear on a remote console. This commit removes it from there.
(closes issue ASTERISK-23084)
Review: https://reviewboard.asterisk.org/r/3101/
........
Merged revisions 404861 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 404888 from http://svn.asterisk.org/svn/asterisk/branches/11
Modified:
branches/12/ (props changed)
branches/12/main/asterisk.c
Propchange: branches/12/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.
Modified: branches/12/main/asterisk.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/main/asterisk.c?view=diff&rev=404911&r1=404910&r2=404911
==============================================================================
--- branches/12/main/asterisk.c (original)
+++ branches/12/main/asterisk.c Sat Jan 4 04:42:18 2014
@@ -3572,7 +3572,9 @@
live_dangerously = ast_true(v->value);
}
}
- pbx_live_dangerously(live_dangerously);
+ if (!ast_opt_remote) {
+ pbx_live_dangerously(live_dangerously);
+ }
for (v = ast_variable_browse(cfg, "compat"); v; v = v->next) {
float version;
if (sscanf(v->value, "%30f", &version) != 1) {
More information about the asterisk-commits
mailing list