diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2007-11-03 14:19:47 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2007-11-03 14:19:47 +0000 |
commit | eb856fbb48c77cde01a6211ed068ac97b958e084 (patch) | |
tree | ae2300d2fd486d07df7333433586a82f4557d4a5 | |
parent | 05dd7fec2c6d178b188f457747682ec55891cf92 (diff) |
Revert commit #86119. Some users intentionally do not want colorized terminals, so this was a misfeature.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@88437 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | main/term.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/main/term.c b/main/term.c index cb05a8f0f..d051338d8 100644 --- a/main/term.c +++ b/main/term.c @@ -80,16 +80,8 @@ int ast_term_init(void) int termfd = -1, parseokay = 0, i; if (!term) -#ifdef linux - term = "linux"; -#elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) - term = "cons25"; -#elif defined(SOLARIS) - term = "sun-color"; -#else return 0; -#endif - if (ast_opt_no_color) + if (!ast_opt_console || ast_opt_no_color || !ast_opt_no_fork) return 0; for (i=0 ;; i++) { |