diff --git a/modules/module_weather b/modules/module_weather index 21bd96c..b612240 100755 --- a/modules/module_weather +++ b/modules/module_weather @@ -63,7 +63,7 @@ PRINT() { if [ -e "/tmp/itest" ]; then if [ -e "/tmp/wstatus" ]; then grep -q "Unknown location" /tmp/wstatus && exit - grep -q "" /tmp/wstatus || exit + grep -q "" /tmp/wstatus && exit echo "$SEPARATOR $ITEM5_ICON $(cat /tmp/wstatus)" else echo "$(curl -s wttr.in/?format="%C"), $(curl -s wttr.in/?format=3 | sed 's/.* //; s/.*\(.....\)/\1/')" > /tmp/wstatus