summaryrefslogtreecommitdiff
path: root/frame.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2005-05-19 01:57:19 +0000
committerRussell Bryant <russell@russellbryant.com>2005-05-19 01:57:19 +0000
commit3c98814bb50132c41b093f82813cf5003e0995c8 (patch)
treeb006587477d09e5bc5e13f401a06e2e7c0e82dad /frame.c
parent53d655cf0af46985576959ddc42f95f014e44dc8 (diff)
add 'dontwarn' option to asterisk.conf to appease the whining masses :p (bug #4320)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5723 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'frame.c')
-rwxr-xr-xframe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/frame.c b/frame.c
index e52881fe2..23a6e5950 100755
--- a/frame.c
+++ b/frame.c
@@ -578,7 +578,7 @@ static int show_codecs(int fd, int argc, char *argv[])
if ((argc < 2) || (argc > 3))
return RESULT_SHOWUSAGE;
- if (getenv("I_AM_NOT_AN_IDIOT") == NULL)
+ if (!option_dontwarn)
ast_cli(fd, "Disclaimer: this command is for informational purposes only.\n"
"\tIt does not indicate anything about your configuration.\n");