mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Do not log the exit tag in scan, only in diff
Some checks failed
Some checks failed
This commit is contained in:
parent
627b7cff50
commit
4c7fd01b7b
1 changed files with 8 additions and 7 deletions
|
|
@ -2024,15 +2024,16 @@ static int state_diffscan(struct snapraid_state* state, int is_diff)
|
|||
}
|
||||
if (state->unsynced_blocks != 0)
|
||||
log_error(EUSER, "The last sync was interrupted. Run it again!\n");
|
||||
|
||||
if (state->unsynced_blocks != 0) {
|
||||
log_tag("summary:exit:unsynced\n");
|
||||
} else if (!no_difference) {
|
||||
log_tag("summary:exit:diff\n");
|
||||
} else {
|
||||
log_tag("summary:exit:equal\n");
|
||||
}
|
||||
}
|
||||
|
||||
if (state->unsynced_blocks != 0) {
|
||||
log_tag("summary:exit:unsynced\n");
|
||||
} else if (!no_difference) {
|
||||
log_tag("summary:exit:diff\n");
|
||||
} else {
|
||||
log_tag("summary:exit:equal\n");
|
||||
}
|
||||
log_flush();
|
||||
|
||||
tommy_list_foreach(&scanlist, (tommy_foreach_func*)scan_free);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue