summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Hall <Hallzy.18@gmail.com>2015-10-16 16:26:11 -0700
committerSteven Hall <Hallzy.18@gmail.com>2015-10-16 16:26:11 -0700
commit3bdb43d9dad5766c23a34e438ad3fbd05823b6bd (patch)
treea8dda5d76e003e5da1a47569b77edb37689717b7
parentb8797284031edbfd4c22f19f4878418cf4b2ec10 (diff)
downloadgit-sonar-3bdb43d9dad5766c23a34e438ad3fbd05823b6bd.tar.gz
git-sonar-3bdb43d9dad5766c23a34e438ad3fbd05823b6bd.zip
Fixed an error in my parameter subsitution.
-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