mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-07 19:57:56 +00:00
libdfu: Check for extra args to dfu-tool convert
This commit is contained in:
parent
e8a6d3d0cb
commit
859fe0b43e
@ -631,7 +631,7 @@ dfu_tool_convert (DfuToolPrivate *priv, gchar **values, GError **error)
|
|||||||
g_autoptr(GFile) file_out = NULL;
|
g_autoptr(GFile) file_out = NULL;
|
||||||
|
|
||||||
/* check args */
|
/* check args */
|
||||||
if (argc < 3) {
|
if (argc < 3 || argc > 4) {
|
||||||
g_set_error_literal (error,
|
g_set_error_literal (error,
|
||||||
DFU_ERROR,
|
DFU_ERROR,
|
||||||
DFU_ERROR_INTERNAL,
|
DFU_ERROR_INTERNAL,
|
||||||
|
Loading…
Reference in New Issue
Block a user