* Show error messages from curl.
This commit is contained in:
parent
2cd590d96c
commit
99da51d4de
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ sub processURL {
|
||||||
print "obtaining list of Nix archives at $url...\n";
|
print "obtaining list of Nix archives at $url...\n";
|
||||||
|
|
||||||
system("@curl@ --fail --silent --show-error --location --max-redirs 20 " .
|
system("@curl@ --fail --silent --show-error --location --max-redirs 20 " .
|
||||||
"'$url' > '$manifest' 2> /dev/null") == 0
|
"'$url' > '$manifest'") == 0
|
||||||
or die "curl failed: $?";
|
or die "curl failed: $?";
|
||||||
|
|
||||||
open MANIFEST, "<$manifest";
|
open MANIFEST, "<$manifest";
|
||||||
|
|
Loading…
Reference in a new issue