summaryrefslogtreecommitdiffstats
path: root/core/includes
diff options
context:
space:
mode:
authorSimon Rettberg2025-04-01 14:13:10 +0200
committerSimon Rettberg2025-04-01 14:13:10 +0200
commitab6330ff796b138a1190f815426bc4b04bfc0e2b (patch)
tree62f90703727b8ececc85099ee1951190c3a8a4b2 /core/includes
parent[inc/downloader] autoclone: Try github mirror on repeated failure (diff)
downloadmltk-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.inc2
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,