updating rc code check

Change-Id: I15a256683d454a5b3024a2b65668b7f04b945e96
diff --git a/libraries/utils.robot b/libraries/utils.robot
index 881e9dc..ad14d72 100644
--- a/libraries/utils.robot
+++ b/libraries/utils.robot
@@ -59,5 +59,5 @@
     # check voltctl and kubectl configured
     ${voltctl_rc}=    Run And Return RC    ${VOLTCTL_CONFIG} voltctl
     ${kubectl_rc}=    Run And Return RC    ${KUBECTL_CONFIG} kubectl
-    Run Keyword If    ${voltctl_rc} != 1 or ${kubectl_rc} != 0    FATAL ERROR
-    ...    VOLTCTL and KUBECTL not configured. Please configure before executing tests.
\ No newline at end of file
+    Run Keyword If    ${voltctl_rc} != 0 or ${kubectl_rc} != 0    FATAL ERROR
+    ...    VOLTCTL and KUBECTL not configured. Please configure before executing tests.