summaryrefslogtreecommitdiffstats
path: root/ci/clean.sh
diff options
context:
space:
mode:
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