From: Arran Cudbard-Bell Date: Wed, 22 Jul 2015 22:30:07 +0000 (-0400) Subject: Revert "Don't complain on deprecated. Closes #1131" X-Git-Tag: release_3_0_10~296 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc1c488d0254cef56dcdeb25cdb637661700d032;p=thirdparty%2Ffreeradius-server.git Revert "Don't complain on deprecated. Closes #1131" DO complain on -C, because we refuse to start without -C, and having different behaviour between daemon mode and -C is worse than some mildly confusing message, as it's the thing that init and salt scripts use to prevent accidental destruction of radius clusters. --- diff --git a/src/main/conffile.c b/src/main/conffile.c index 904b65ed2ff..cdf3390b215 100644 --- a/src/main/conffile.c +++ b/src/main/conffile.c @@ -1894,8 +1894,6 @@ int cf_section_parse(CONF_SECTION *cs, void *base, variables[i + 1].name); } - if ((ret == -2) && check_config) continue; - goto error; } } /* for all variables in the configuration section */