From b385c0cb7f1ad9957bc500f908db6d1b40b5d120 Mon Sep 17 00:00:00 2001 From: Thomas Harvey Date: Mon, 16 Oct 2017 19:12:44 -0400 Subject: [PATCH] patch --- allocate_runners.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/allocate_runners.sh b/allocate_runners.sh index f906edc..7ab5543 100644 --- a/allocate_runners.sh +++ b/allocate_runners.sh @@ -17,7 +17,7 @@ until [[ $memory -gt $maxMemoryUsage ]]; do runnerName="${namePrefix}${RANDOM}"; lxc-start-ephemeral -o $baseName -n $runnerName --union-type overlayfs -d; - if [[ "$?" -eq 0 ]]; then + if [[ $? -eq 0 ]]; then runners="${runnerName};${runners}"; fi usedMemoryPercent;