summaryrefslogtreecommitdiffstats
path: root/ci/clean.sh
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-10-17 07:40:27 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2016-10-17 09:43:25 -0500
commit501abc68e6a974d7e5dd480233bf44a2f20fc0b3 (patch)
treec4a30540a7708792b127343b540cd971c1566dea /ci/clean.sh
parent7ae91a059f2b498ebacc66440f5de21eea99033c (diff)
modified to typo error.
Change-Id: I9992d424a6b74578b918c5a749ae86e892ea4084 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/clean.sh')
-rwxr-xr-xci/clean.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/clean.sh b/ci/clean.sh
index 3c0a71e4..4b308fd0 100755
--- a/ci/clean.sh
+++ b/ci/clean.sh
@@ -9,7 +9,7 @@ fi
jujuver=`juju --version`
-if [ "$jujuver" > "2" ]; then
+if [[ "$jujuver" > "2" ]]; then
controllername=`awk 'NR==1{print $2}' environments.yaml`
cloudname=`awk 'NR==1{print $2}' environments.yaml`
juju kill-controller $controllername --timeout 10s -y || true