From f0d2943e5fd7879164625c600098c379db4a94f4 Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Sun, 18 Mar 2012 16:16:46 +0100 Subject: [PATCH] Do not bail out if the config can't be read, use default values. Signed-off-by: Andreas Schneider --- src/csync.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/csync.c b/src/csync.c index 3b0474f29..85458a2a1 100644 --- a/src/csync.c +++ b/src/csync.c @@ -210,8 +210,7 @@ int csync_init(CSYNC *ctx) { } if (csync_config_load(ctx, config) < 0) { - rc = -1; - goto out; + CSYNC_LOG(CSYNC_LOG_PRIORITY_WARN, "Could not load config file %s, using defaults.", config); } #ifndef _WIN32