s+ow: fix location regression

This commit is contained in:
Mark Joshwel 2023-11-03 08:34:06 +08:00 committed by GitHub
parent 8fecc090bf
commit ce45f22729
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

3
s+ow
View file

@ -258,8 +258,9 @@ run() {
if [ "$locate_run" -gt "1" ]; then
LOCATION_TIMEOUT=75 locate
else
locate
fi
if [ ! -s "$SPOW_LOCTN_OUT" ]; then
# erroneous: is empty
echo "s+ow: error: failed to get location" | tee -a "$SPOW_SESH_ERR"