Fixing Logic

Breaks out of the loop once the vim is enabled

Change-Id: I2b8b6faeb7aa599a286ecc51155653b7d87ec52d
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
diff --git a/robot-systest/run_test.sh b/robot-systest/run_test.sh
index e8a02db..a279ff0 100755
--- a/robot-systest/run_test.sh
+++ b/robot-systest/run_test.sh
@@ -54,6 +54,9 @@
             sleep 10
             STATUS=`osm vim-list --long | grep ${VIM_TARGET} | awk '{print $9}'`
         done
+        if [[ ${STATUS} = "ENABLED" ]] ; then
+            break
+        fi
         ((attempts--))
     done