Fix on robot init detection

Change-Id: I2de0f69c42ac85837da5d42e69aa2b8db2d10361
Issue-ID: INT-278
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
diff --git a/test/ete/scripts/run-healthcheck.sh b/test/ete/scripts/run-healthcheck.sh
index 057504e..b69a2a9 100755
--- a/test/ete/scripts/run-healthcheck.sh
+++ b/test/ete/scripts/run-healthcheck.sh
@@ -21,7 +21,7 @@
 
 ssh -o StrictHostKeychecking=no -i ${SSH_KEY} root@${ROBOT_IP} "OS_PASSWORD_INPUT=$OS_PASSWORD_INPUT bash -s" < ./remote/run-robot.sh
 
-if [ $? -eq 0 ]
+if [ ! $? -eq 0 ]
 then
     exit 1
 fi