diff options
Diffstat (limited to '')
-rwxr-xr-x | radar-base.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/radar-base.sh b/radar-base.sh index f9d834a..538d593 100755 --- a/radar-base.sh +++ b/radar-base.sh @@ -181,10 +181,10 @@ time_to_update() { } fetch() { + # Gives $FETCH_TIME a value get_fetch_time - local timeToUpdate=${1:-$FETCH_TIME} - if time_to_update $timeToUpdate; then + if time_to_update $FETCH_TIME; then record_timestamp git fetch --quiet > /dev/null 2>&1 fi |