modified to typo error.
[joid.git] / ci / clean.sh
index 3c0a71e..4b308fd 100755 (executable)
@@ -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