aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/deliverable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/deliverable.c b/src/deliverable.c
index 9196191..07fea47 100644
--- a/src/deliverable.c
+++ b/src/deliverable.c
@@ -923,7 +923,7 @@ int delivery_get_installer(char *installer_url) {
char *script = path_basename(installer_url);
if (access(script, F_OK)) {
// Script doesn't exist
- if (download(installer_url, script)) {
+ if (HTTP_ERROR(download(installer_url, script, NULL))) {
// download failed
return -1;
}