From dd5287c68654c8c82b3974364d210fdcc253f9d2 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Thu, 7 Feb 2019 22:57:39 -0500 Subject: [PATCH] Hide curl progress meter, but still show errors --- x2/src/bash/exe/khatus_sensor_weather.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x2/src/bash/exe/khatus_sensor_weather.sh b/x2/src/bash/exe/khatus_sensor_weather.sh index a41f14a..adff357 100644 --- a/x2/src/bash/exe/khatus_sensor_weather.sh +++ b/x2/src/bash/exe/khatus_sensor_weather.sh @@ -6,6 +6,8 @@ dir_bin="$1" weather_station_id="$2" curl \ + --silent \ + --show-error \ -X GET \ -H "accept: application/vnd.noaa.obs+xml" \ "https://api.weather.gov/stations/${weather_station_id}/observations/latest?require_qc=false" \ -- 2.20.1