diff options
-rwxr-xr-x | brweather/brweather | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/brweather/brweather b/brweather/brweather index 080fd4d..6e3ed52 100755 --- a/brweather/brweather +++ b/brweather/brweather @@ -185,7 +185,7 @@ if [ $TIME1 -lt $TIME ] ; then fi if [ $OPEN = "0" ] ; then - if [ -f `grep -m1 -A1 '<div id="subcid">' ~/.brweather/cache/previsao | cut -f2 -d'>' | cut -f1 -d'<' | tail -n1` ] ; then + if [ -f "`grep -m1 -A1 '<div id="subcid">' ~/.brweather/cache/previsao | cut -f2 -d'>' | cut -f1 -d'<' | tail -n1`" ] ; then echo "$ERROA1" > ~/.brweather/log echo $(($TIME+30)) > ~/.brweather/cache/timer else |