Do not bail out if the config can't be read, use default values.

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Klaas Freitag 2012-03-18 16:16:46 +01:00 committed by Andreas Schneider
parent 5e7d5c983a
commit f0d2943e5f

View file

@ -210,8 +210,7 @@ int csync_init(CSYNC *ctx) {
} }
if (csync_config_load(ctx, config) < 0) { if (csync_config_load(ctx, config) < 0) {
rc = -1; CSYNC_LOG(CSYNC_LOG_PRIORITY_WARN, "Could not load config file %s, using defaults.", config);
goto out;
} }
#ifndef _WIN32 #ifndef _WIN32