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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@307534 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Jason Parker 15 years ago
parent 9b490b1adc
commit af36e55080

@ -2836,7 +2836,7 @@ int main(int argc, char *argv[])
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':

Loading…
Cancel
Save