diff options
author | Steven Hall <Hallzy.18@gmail.com> | 2015-10-16 16:26:11 -0700 |
---|---|---|
committer | Steven Hall <Hallzy.18@gmail.com> | 2015-10-16 16:26:11 -0700 |
commit | 3bdb43d9dad5766c23a34e438ad3fbd05823b6bd (patch) | |
tree | a8dda5d76e003e5da1a47569b77edb37689717b7 | |
parent | b8797284031edbfd4c22f19f4878418cf4b2ec10 (diff) | |
download | git-sonar-3bdb43d9dad5766c23a34e438ad3fbd05823b6bd.tar.gz git-sonar-3bdb43d9dad5766c23a34e438ad3fbd05823b6bd.zip |
Fixed an error in my parameter subsitution.
-rwxr-xr-x | radar-base.sh | 2 |
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 |