From: Siraaj Khandkar Date: Fri, 8 Feb 2019 03:57:39 +0000 (-0500) Subject: Hide curl progress meter, but still show errors X-Git-Url: https://git.xandkar.net/?p=khatus.git;a=commitdiff_plain;h=dd5287c68654c8c82b3974364d210fdcc253f9d2 Hide curl progress meter, but still show errors --- 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" \