mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-10 09:45:15 +00:00
trivial: Only show the non-interactive text status if interesting
This commit is contained in:
parent
023a5f373d
commit
608a08a226
@ -671,7 +671,7 @@ fu_console_set_progress(FuConsole *self, FwupdStatus status, guint percentage)
|
|||||||
self->percentage = percentage;
|
self->percentage = percentage;
|
||||||
|
|
||||||
/* dumb */
|
/* dumb */
|
||||||
if (!self->interactive) {
|
if (!self->interactive && percentage != 0 && status != FWUPD_STATUS_IDLE) {
|
||||||
g_printerr("%s: %u%%\n", fu_console_status_to_string(status), percentage);
|
g_printerr("%s: %u%%\n", fu_console_status_to_string(status), percentage);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user