From 6e59f2ca7bfb1b81044067696480839763f9006b Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Wed, 3 Jun 2026 11:30:20 +0200 Subject: [PATCH] Print the stop message also with the GUI --- cmdline/state.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmdline/state.c b/cmdline/state.c index 0699878a..43dd781f 100644 --- a/cmdline/state.c +++ b/cmdline/state.c @@ -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;