mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Print the stop message also with the GUI
This commit is contained in:
parent
cf452a091d
commit
6e59f2ca7b
1 changed files with 3 additions and 2 deletions
|
|
@ -5297,9 +5297,10 @@ int state_progress(struct snapraid_state* state, struct snapraid_io* io, block_o
|
|||
if (global_interrupt) {
|
||||
/* LCOV_EXCL_START */
|
||||
if (!state->opt.gui) {
|
||||
log_fatal(EUSER, "\n");
|
||||
log_fatal(EUSER, "Stopping for interruption at block %u\n", blockpos);
|
||||
msg_bar("\n");
|
||||
msg_flush();
|
||||
}
|
||||
log_fatal(EUSER, "Stopping for interruption at block %u\n", blockpos);
|
||||
log_tag("sigint:%u: SIGINT received\n", blockpos);
|
||||
log_flush();
|
||||
return 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue