summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xradar-base.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/radar-base.sh b/radar-base.sh
index 886a6e9..d639fa0 100755
--- a/radar-base.sh
+++ b/radar-base.sh
@@ -167,7 +167,7 @@ time_to_update() {
}
fetch() {
- local timeToUpdate = ${"$1":-"$((5 * 60))"}
+ local timeToUpdate=${1:-"$((5 * 60))"}
if time_to_update $timeToUpdate; then
record_timestamp