Hide curl progress meter, but still show errors
authorSiraaj Khandkar <siraaj@khandkar.net>
Fri, 8 Feb 2019 03:57:39 +0000 (22:57 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Fri, 8 Feb 2019 03:57:39 +0000 (22:57 -0500)
x2/src/bash/exe/khatus_sensor_weather.sh

index a41f14a..adff357 100644 (file)
@@ -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" \
This page took 0.038016 seconds and 4 git commands to generate.