From 7bbf77c6ec5fa5c71adc7022317b84a7cc8dc48c Mon Sep 17 00:00:00 2001 From: Thomas Harvey Date: Mon, 16 Oct 2017 19:11:47 -0400 Subject: [PATCH] fixed syntax error in allocate_runners.sh --- allocate_runners.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/allocate_runners.sh b/allocate_runners.sh index 107df6c..f906edc 100644 --- a/allocate_runners.sh +++ b/allocate_runners.sh @@ -17,10 +17,10 @@ until [[ $memory -gt $maxMemoryUsage ]]; do runnerName="${namePrefix}${RANDOM}"; lxc-start-ephemeral -o $baseName -n $runnerName --union-type overlayfs -d; - if[[ "$?" -eq 0 ]]; then - runners="${runners};${runnerName}"; + if [[ "$?" -eq 0 ]]; then + runners="${runnerName};${runners}"; fi usedMemoryPercent; done -echo $runners \ No newline at end of file +echo $runners; \ No newline at end of file