Starter ignores non-fatal errors when reloading config
authorTobias Brunner <tobias@strongswan.org>
Mon, 8 Oct 2012 09:23:08 +0000 (11:23 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 18 Oct 2012 12:42:11 +0000 (14:42 +0200)
src/starter/starter.c

index 9ba6120..85197cd 100644 (file)
@@ -626,7 +626,7 @@ int main (int argc, char **argv)
                        DBG2(DBG_APP, "Reloading config...");
                        new_cfg = confread_load(CONFIG_FILE);
 
-                       if (new_cfg && (new_cfg->err + new_cfg->non_fatal_err == 0))
+                       if (new_cfg && (new_cfg->err == 0))
                        {
                                /* Switch to new config. New conn will be loaded below */