summaryrefslogtreecommitdiff
path: root/wrocwttr
diff options
context:
space:
mode:
Diffstat (limited to 'wrocwttr')
-rwxr-xr-xwrocwttr4
1 files changed, 2 insertions, 2 deletions
diff --git a/wrocwttr b/wrocwttr
index dccb1cc..727a464 100755
--- a/wrocwttr
+++ b/wrocwttr
@@ -8,7 +8,7 @@ FILE="$CACHE_DIR/wroc.txt"
mkdir -p "$CACHE_DIR"
temp="$(curl -fsS --max-time 5 -A "wrocwttr/1.0" \
- "https://wttr.in/$CITY?format=%t")" || exit 1
+ "https://wttr.in/$CITY?format=%t")" || exit 1
[ -z "$temp" ] && exit 1
-echo "$temp" > "$FILE"
+echo "$temp" >"$FILE"