From 67f4d0c85b0b2e5c8312346fac29b5fd87a2a0a2 Mon Sep 17 00:00:00 2001 From: Markus Goetz Date: Thu, 27 Mar 2014 17:11:19 +0100 Subject: [PATCH] CSync: Debug message if no exclude file defined --- csync/src/csync.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/csync/src/csync.c b/csync/src/csync.c index 6d8d294ef..ac109ca97 100644 --- a/csync/src/csync.c +++ b/csync/src/csync.c @@ -257,6 +257,10 @@ int csync_update(CSYNC *ctx) { csync_memstat_check(); + if (!ctx->excludes) { + CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "No exclude file loaded or defined!"); + } + /* update detection for local replica */ oc_notify_progress(NULL, CSYNC_NOTIFY_START_LOCAL_UPDATE, 0, 0); csync_gettime(&start);