diff --git a/scripts/source/artifacts.sh b/scripts/source/artifacts.sh index a8b1ffc..bebcfb1 100644 --- a/scripts/source/artifacts.sh +++ b/scripts/source/artifacts.sh @@ -56,7 +56,10 @@ lpFetchIndex() { [[ -n "$(_lpFetchTool)" ]] || { isError "lpFetchIndex: need curl or wget"; return 1; } tmp="$(mktemp -d)"; idx="$tmp/index.json"; sig="$tmp/index.json.minisig" - if ! _lpDownload "$base/$channel/index.json" "$idx"; then + # Silence the downloader's own stderr (curl's "could not resolve host" / 404 + # noise) — the caller's clean error message covers the failure. Consistent + # with the .minisig fetch below. + if ! _lpDownload "$base/$channel/index.json" "$idx" 2>/dev/null; then isError "lpFetchIndex: could not download the artifact index"; rm -rf "$tmp"; return 1 fi