diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-02-06 10:43:10 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-02-06 10:43:10 -0500 |
commit | 261c4ccea39dcf8b41f6c199088dfdbc001b46b6 (patch) | |
tree | 0a9ccd24bdfebd20a2c47284d8587ae2cb8eb0bf | |
parent | 1e118f8d814c3a76199271cd46421e1cbd33d312 (diff) | |
download | stasis-261c4ccea39dcf8b41f6c199088dfdbc001b46b6.tar.gz |
Handle failed conda installer download
-rw-r--r-- | src/deliverable.c | 2 |
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; } |