mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-04 13:50:09 -05:00
Improve and change the order of the user messages
The "Everything is OK" is now printed as latest one.
This commit is contained in:
parent
467fb8c1ac
commit
52ef48655f
7 changed files with 40 additions and 25 deletions
|
|
@ -4376,7 +4376,7 @@ int state_progress_begin(struct snapraid_state* state, block_off_t blockstart, b
|
|||
return 1;
|
||||
}
|
||||
|
||||
void state_progress_end(struct snapraid_state* state, block_off_t countpos, block_off_t countmax, data_off_t countsize)
|
||||
void state_progress_end(struct snapraid_state* state, block_off_t countpos, block_off_t countmax, data_off_t countsize, const char* msg)
|
||||
{
|
||||
if (state->opt.gui) {
|
||||
log_tag("run:end\n");
|
||||
|
|
@ -4385,7 +4385,7 @@ void state_progress_end(struct snapraid_state* state, block_off_t countpos, bloc
|
|||
if (state->need_write || state->written) {
|
||||
msg_status("100%% completed\n");
|
||||
} else {
|
||||
msg_status("Nothing to do\n");
|
||||
msg_status("%s", msg);
|
||||
}
|
||||
} else {
|
||||
time_t now;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue