aboutsummaryrefslogtreecommitdiffstats
path: root/frame.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-19 01:57:19 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-19 01:57:19 +0000
commit3af272b36b0c883bdd6b297f6fd1fe160a9e6fbb (patch)
treeb006587477d09e5bc5e13f401a06e2e7c0e82dad /frame.c
parent160bd00f28f1a866ce0d62fad10d9115fc070c1d (diff)
add 'dontwarn' option to asterisk.conf to appease the whining masses :p (bug #4320)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5723 f38db490-d61c-443f-a65b-d21fe96a405b
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");