From: Ian Jackson Date: Wed, 19 Oct 2016 21:44:28 +0000 (+0100) Subject: curl invocation: archive-api-query subcommand: pass -f to curl X-Git-Tag: archive/debian/2.6~3 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=17ed38cfca87366fc0e505c6dfadb5ce227a57a4 curl invocation: archive-api-query subcommand: pass -f to curl This makes it fail properly when it should. Signed-off-by: Ian Jackson --- diff --git a/dgit b/dgit index 2dd45bef..19a0835a 100755 --- a/dgit +++ b/dgit @@ -5010,6 +5010,7 @@ sub cmd_archive_api_query { badusage "need only 1 subpath argument" unless @ARGV==1; my ($subpath) = @ARGV; my @cmd = archive_api_query_cmd($subpath); + push @cmd, qw(-f); debugcmd ">",@cmd; exec @cmd or fail "exec curl: $!\n"; }