Skip to content

Commit

Permalink
Merge pull request #72 from mcbirse/main
Browse files Browse the repository at this point in the history
Fix missing space in if statement
  • Loading branch information
jasonacox authored Aug 28, 2022
2 parents 6a42e4a + 9a41b59 commit 546645d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weather.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 546645d

Please sign in to comment.