s+ow: fix location regression
This commit is contained in:
parent
8fecc090bf
commit
ce45f22729
3
s+ow
3
s+ow
|
@ -258,8 +258,9 @@ run() {
|
||||||
|
|
||||||
if [ "$locate_run" -gt "1" ]; then
|
if [ "$locate_run" -gt "1" ]; then
|
||||||
LOCATION_TIMEOUT=75 locate
|
LOCATION_TIMEOUT=75 locate
|
||||||
|
else
|
||||||
|
locate
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -s "$SPOW_LOCTN_OUT" ]; then
|
if [ ! -s "$SPOW_LOCTN_OUT" ]; then
|
||||||
# erroneous: is empty
|
# erroneous: is empty
|
||||||
echo "s+ow: error: failed to get location" | tee -a "$SPOW_SESH_ERR"
|
echo "s+ow: error: failed to get location" | tee -a "$SPOW_SESH_ERR"
|
||||||
|
|
Loading…
Reference in a new issue