diff options
| author | Simon Rettberg | 2025-04-01 14:13:10 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2025-04-01 14:13:10 +0200 |
| commit | ab6330ff796b138a1190f815426bc4b04bfc0e2b (patch) | |
| tree | 62f90703727b8ececc85099ee1951190c3a8a4b2 /core/includes | |
| parent | [inc/downloader] autoclone: Try github mirror on repeated failure (diff) | |
| download | mltk-ab6330ff796b138a1190f815426bc4b04bfc0e2b.tar.gz mltk-ab6330ff796b138a1190f815426bc4b04bfc0e2b.tar.xz mltk-ab6330ff796b138a1190f815426bc4b04bfc0e2b.zip | |
[vmware17] Download doesn't return on error, no need to check
Diffstat (limited to 'core/includes')
| -rw-r--r-- | core/includes/downloader.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/includes/downloader.inc b/core/includes/downloader.inc index 4617a131..333d1481 100644 --- a/core/includes/downloader.inc +++ b/core/includes/downloader.inc @@ -59,6 +59,7 @@ download () { rm -f -- "$tmpfile" [ -n "$f" ] && pinfo "Checksum of downloaded file is valid :-)" fi + return 0 } # [algo] [file_to_hash] [sumfile] [name_in_sumfile] @@ -94,6 +95,7 @@ download_untar () { local RET=$? [ "x$RET" != "x0" ] && perror "could not untar $TMPFILE to $DEST (tar returned $RET)" unlink "$TMPFILE" + return 0 } # Download first param URL to second param path, |
