From 6dce7cfe0faf464e30840941d4bb8cd3810809e4 Mon Sep 17 00:00:00 2001 From: speedie Date: Mon, 28 Nov 2022 20:32:25 +0100 Subject: [PATCH] update module_weather --- modules/module_weather | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/module_weather b/modules/module_weather index 957a3e9..afaa54a 100755 --- a/modules/module_weather +++ b/modules/module_weather @@ -8,7 +8,7 @@ module_config command -v curl > /dev/null || exit WEATHER_FULL="$(echo "$(curl -s wttr.in/?format="%C" || exit), $(curl -s wttr.in/?format=3 | sed 's/.* //; s/.*\(.....\)/\1/')")" -echo "$WEATHER_FULL" | grep -qE "Unknown location|" && exit +echo "$WEATHER_FULL" | grep -qE "Unknown location|| ," && exit # clicking CLICK() {