commit 736241df293774390dd6b38bf6bc6ad3f7d1042b parent a25fad9eee0b3b46790064c163ac8093b8e298c5 Author: sshaw <skye.shaw@gmail.com> Date: Sat, 10 Oct 2015 18:15:46 -0400 Send jq stderr to /dev/null Diffstat:
M | ansiweather | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ansiweather b/ansiweather @@ -223,7 +223,7 @@ then exit fi -status_code=$(echo "$weather" | jq -r '.cod') +status_code=$(echo "$weather" | jq -r '.cod' 2>/dev/null) if [ "$status_code" != 200 ] then