aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-10-08 11:23:08 +0200
committerTobias Brunner <tobias@strongswan.org>2012-10-18 14:42:11 +0200
commita5436657e977e8157d7e79f390ec6081f00c1bce (patch)
tree73f05984b57fd1a58f04ff3abc313b0359bc9552
parent9e730ef9df7a4c24186185967727df052cde0ca9 (diff)
downloadstrongswan-a5436657e977e8157d7e79f390ec6081f00c1bce.tar.bz2
strongswan-a5436657e977e8157d7e79f390ec6081f00c1bce.tar.xz
Starter ignores non-fatal errors when reloading config
-rw-r--r--src/starter/starter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/starter/starter.c b/src/starter/starter.c
index 9ba61205a..85197cd8b 100644
--- a/src/starter/starter.c
+++ b/src/starter/starter.c
@@ -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 */