diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2014-06-04 15:22:11 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2014-06-05 15:24:40 +0800 |
commit | dcc2bd8913d3741614e971b0be12f490d8334538 (patch) | |
tree | e8bc60e15e2edc2f97f6bba26d5c94dc736f9215 /discover | |
parent | 1d69ceee0b8fac1f4451a75b6e4b14ee2d5d91dc (diff) | |
download | petitboot-dcc2bd8913d3741614e971b0be12f490d8334538.zip petitboot-dcc2bd8913d3741614e971b0be12f490d8334538.tar.gz |
discover/paths: Fix wget command with https and !DEBUG
When DEBUG is undefed, we run out of wget arguments for loading https
URLs. We need an extra element in the argv array to handle all possible
arguments.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover')
-rw-r--r-- | discover/paths.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/discover/paths.c b/discover/paths.c index 54774cf..0d414eb 100644 --- a/discover/paths.c +++ b/discover/paths.c @@ -310,8 +310,9 @@ static void load_wget(struct load_task *task, int flags) pb_system_apps.wget, "-O", NULL, /* 2: local file */ - NULL, - NULL, + NULL, /* 3 (optional): --quiet */ + NULL, /* 4 (optional): --no-check-certificate */ + NULL, /* 5: URL */ NULL, }; int i; |