From: Arran Cudbard-Bell Date: Wed, 31 Jan 2018 02:27:58 +0000 (-0700) Subject: The behaviour of -C and -X should be identical in terms of what's allowed X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76df961815fa1f2412eb74a8b6736232fbd721ab;p=thirdparty%2Ffreeradius-server.git The behaviour of -C and -X should be identical in terms of what's allowed --- diff --git a/src/main/virtual_servers.c b/src/main/virtual_servers.c index 8dff77c1c48..280a787189c 100644 --- a/src/main/virtual_servers.c +++ b/src/main/virtual_servers.c @@ -432,14 +432,7 @@ int virtual_servers_instantiate(void) name2 = cf_section_name2(subcs); if (!name2) name2 = ""; - if (check_config) { - cf_log_err(subcs, "%s %s { ... } section is unused", - name, name2); - return -1; - } - - cf_log_warn(subcs, "%s %s { ... } section is unused", - name, name2); + cf_log_warn(subcs, "%s %s { ... } section is unused", name, name2); } } }