From 9a41b59f93dbb12ff6aa153cf2d2de649ec532af Mon Sep 17 00:00:00 2001 From: Michael Birse Date: Sun, 28 Aug 2022 18:56:30 +1000 Subject: [PATCH] Fix missing space in if statement --- weather.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weather.sh b/weather.sh index e19d740e..8fe50c13 100755 --- a/weather.sh +++ b/weather.sh @@ -107,7 +107,7 @@ if [ ! -f ${CONF_FILE} ]; then exit 0 fi read -p 'Enter Longitude: ' LON - if [-z "${LON}" ]; then + if [ -z "${LON}" ]; then echo "ERROR: Valid coordinates are required. Exiting now." exit 0 fi