From 40445543f10f4e10cc13ea8a9e4ba0a79cb200db Mon Sep 17 00:00:00 2001 From: Steven Hall Date: Sun, 18 Oct 2015 23:07:31 -0700 Subject: Since a number is no longer taken after --fetch_t we can remove the parameter substitution that has been removed in this commit. --- radar-base.sh | 4 ++-- 1 file 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 -- cgit v1.2.3