mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-05 17:43:55 +00:00
trivial: fix wget command in fu-tool.c
-o <arg> will redirect stdout to <arg>, -O <arg> what we want to be using, it saves the file to <arg>. Signed-off-by: Filipe Laíns <lains@archlinux.org>
This commit is contained in:
parent
6819f9e461
commit
e091427993
@ -671,7 +671,7 @@ fu_util_install_task_sort_cb (gconstpointer a, gconstpointer b)
|
||||
static gboolean
|
||||
fu_util_download_out_of_process (const gchar *uri, const gchar *fn, GError **error)
|
||||
{
|
||||
const gchar *argv[][5] = { { "wget", uri, "-o", fn, NULL },
|
||||
const gchar *argv[][5] = { { "wget", uri, "-O", fn, NULL },
|
||||
{ "curl", uri, "--output", fn, NULL },
|
||||
{ NULL } };
|
||||
for (guint i = 0; argv[i][0] != NULL; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user