Revert "Don't complain on deprecated. Closes #1131"
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 22 Jul 2015 22:30:07 +0000 (18:30 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 24 Jul 2015 12:33:05 +0000 (08:33 -0400)
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.

src/main/conffile.c

index 904b65e..cdf3390 100644 (file)
@@ -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 */