mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 08:28:27 +00:00
trivial: fu-util: don't show warnings for no reports to upload
``` (fwupdmgr:5605): FuMain-WARNING **: 22:16:06.048: No reports require uploading ```
This commit is contained in:
parent
71d4b08445
commit
9213c5c7bf
@ -1801,7 +1801,10 @@ fu_util_maybe_send_reports (FuUtilPrivate *priv, const gchar *remote_id,
|
||||
return FALSE;
|
||||
if (fwupd_remote_get_automatic_reports (remote)) {
|
||||
if (!fu_util_report_history (priv, NULL, &error_local))
|
||||
g_warning ("%s", error_local->message);
|
||||
if (!g_error_matches (error_local,
|
||||
FWUPD_ERROR,
|
||||
FWUPD_ERROR_NOT_SUPPORTED))
|
||||
g_warning ("%s", error_local->message);
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user