From 3bdb43d9dad5766c23a34e438ad3fbd05823b6bd Mon Sep 17 00:00:00 2001 From: Steven Hall Date: Fri, 16 Oct 2015 16:26:11 -0700 Subject: Fixed an error in my parameter subsitution. --- radar-base.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'radar-base.sh') 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 -- cgit v1.2.3