aboutsummaryrefslogtreecommitdiffstats
path: root/frame.c
diff options
context:
space:
mode:
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");