From 75ccb09ac063d50bc61ddb2b8c0d7d015d5b71e5 Mon Sep 17 00:00:00 2001 From: Marco Nelissen Date: Sun, 22 Oct 2023 11:58:22 -0700 Subject: [PATCH] Write curl errors to /tmp/curl.err for debugging --- setup/pi/setup-teslausb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/pi/setup-teslausb b/setup/pi/setup-teslausb index 6f0dfd32..f11b0856 100755 --- a/setup/pi/setup-teslausb +++ b/setup/pi/setup-teslausb @@ -38,7 +38,7 @@ function setup_progress () { function curlwrapper () { setup_progress "curl $*" > /dev/null - while ! curl -s --fail "$@" + while ! curl -s -S --stderr /tmp/curl.err --fail "$@" do setup_progress "'curl $*' failed, retrying" > /dev/null sntp -S time.google.com || true