[svn-commits] qwell: branch 1.4 r307534 - /branches/1.4/main/asterisk.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Feb 10 16:33:14 CST 2011


Author: qwell
Date: Thu Feb 10 16:33:09 2011
New Revision: 307534

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=307534
Log:
Remove color when executing commands via a remote console.

Essentially this makes '-x' imply '-n' on rasterisk.  This was done in a
different and incomplete way previously, which I'll be reverting shortly.

(issue #18776)
Reported by: alecdavis

Modified:
    branches/1.4/main/asterisk.c

Modified: branches/1.4/main/asterisk.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/main/asterisk.c?view=diff&rev=307534&r1=307533&r2=307534
==============================================================================
--- branches/1.4/main/asterisk.c (original)
+++ branches/1.4/main/asterisk.c Thu Feb 10 16:33:09 2011
@@ -2836,7 +2836,7 @@
 			ast_set_flag(&ast_options, AST_OPT_FLAG_TIMESTAMP);
 			break;
 		case 'x':
-			ast_set_flag(&ast_options, AST_OPT_FLAG_EXEC);
+			ast_set_flag(&ast_options, AST_OPT_FLAG_EXEC | AST_OPT_FLAG_NO_COLOR);
 			xarg = ast_strdupa(optarg);
 			break;
 		case 'C':




More information about the svn-commits mailing list