mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-15 04:15:26 +00:00
fu-util: fix a logic error in report uploading introduced in e076d48afb
Fixes: #1770
This commit is contained in:
parent
52cda3db9c
commit
5c7e17276c
@ -286,16 +286,12 @@ fu_util_maybe_enable_automatic (FuUtilPrivate *priv, GPtrArray *remotes, GError
|
|||||||
NULL, error))
|
NULL, error))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
return TRUE;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_set_error_literal (error,
|
return TRUE;
|
||||||
FWUPD_ERROR,
|
|
||||||
FWUPD_ERROR_NOTHING_TO_DO,
|
|
||||||
"invalid option selected");
|
|
||||||
return FALSE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
Loading…
Reference in New Issue
Block a user