From f389afe67842bd1afc06ff8d85d67da5ebc011e6 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Fri, 20 Nov 2015 19:29:04 +0100 Subject: [PATCH] Avoid to log limits if not relevant for the scrub plan --- cmdline/scrub.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cmdline/scrub.c b/cmdline/scrub.c index df357072..83be0a34 100644 --- a/cmdline/scrub.c +++ b/cmdline/scrub.c @@ -701,11 +701,10 @@ int state_scrub(struct snapraid_state* state, int plan, int olderthan) } log_tag("count_limit:%u\n", countlimit); + log_tag("time_limit:%" PRIu64 "\n", (uint64_t)ps.timelimit); + log_tag("last_limit:%u\n", ps.lastlimit); } - log_tag("time_limit:%" PRIu64 "\n", (uint64_t)ps.timelimit); - log_tag("last_limit:%u\n", ps.lastlimit); - /* free the temp vector */ free(timemap);