From e091427993122add0bd45349b957f2df0946b7c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filipe=20La=C3=ADns?= Date: Fri, 20 Sep 2019 10:04:43 +0100 Subject: [PATCH] trivial: fix wget command in fu-tool.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -o will redirect stdout to , -O what we want to be using, it saves the file to . Signed-off-by: Filipe LaĆ­ns --- src/fu-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fu-tool.c b/src/fu-tool.c index e4a670670..5ad19c93a 100644 --- a/src/fu-tool.c +++ b/src/fu-tool.c @@ -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++) {