Skip to content

Commit

Permalink
Avoid to log limits if not relevant for the scrub plan
Browse files Browse the repository at this point in the history
  • Loading branch information
amadvance committed Nov 20, 2015
1 parent 193519d commit f389afe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmdline/scrub.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit f389afe

Please sign in to comment.