mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-11 07:10:36 +00:00
curl: less verbose and fail on HTTP error response
-s - don't show download progress meter -S - *do* show error messages (otherwise hidden by -s) -f - exit with non-zero status on HTTP 400 or above responses
This commit is contained in:
parent
c69237358f
commit
80fee00b5a
@ -60,7 +60,7 @@ tmp=/tmp/bootstrap.tmp
|
||||
|
||||
# MacOS does not have wget without homebrew but does have curl
|
||||
# Rick also had indicated most BSDs have curl too
|
||||
if curl -L "$url" >"$tmp"; then
|
||||
if curl -fsSL "$url" >"$tmp"; then
|
||||
mv "$tmp" "$dest"
|
||||
echo -e "${GREEN}lokinet successfully bootstrapped${NC}"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user