Refactor portable support

This commit is contained in:
Andrea Mazzoleni 2026-06-12 09:21:18 +02:00
parent 600e008b21
commit 417d073710
17 changed files with 6036 additions and 5835 deletions

View file

@ -4966,7 +4966,7 @@ int state_progress_begin(struct snapraid_state* state, block_off_t blockstart, b
return -1;
/* stop if requested */
if (os_global_interrupt()) {
if (app_global_interrupt()) {
/* LCOV_EXCL_START */
if (!state->opt.gui) {
msg_status("Not starting due to interruption\n");
@ -5487,7 +5487,7 @@ int state_progress(struct snapraid_state* state, struct snapraid_io* io, block_o
}
/* stop if requested */
if (os_global_interrupt()) {
if (app_global_interrupt()) {
/* LCOV_EXCL_START */
if (!state->opt.gui) {
msg_bar("\n");