Load the right exclude file in the user directory.

This commit is contained in:
Andreas Schneider 2008-06-12 09:31:50 +02:00
parent 35d32c045a
commit 3ec18e0746

View file

@ -200,7 +200,7 @@ int csync_init(CSYNC *ctx) {
SAFE_FREE(exclude);
/* load exclude list */
if (asprintf(&exclude, "%s/%s", ctx->options.config_dir, CSYNC_CONF_FILE) < 0) {
if (asprintf(&exclude, "%s/%s", ctx->options.config_dir, CSYNC_EXCLUDE_FILE) < 0) {
rc = -1;
goto out;
}