Index: trunk/FACT++/scripts/CheckStates.js
===================================================================
--- trunk/FACT++/scripts/CheckStates.js	(revision 17924)
+++ trunk/FACT++/scripts/CheckStates.js	(revision 17925)
@@ -40,5 +40,5 @@
  *
  */
-function checkStates(table, timeout, wait)
+function checkStates(table, timeout)
 {
     if (timeout===undefined)
@@ -69,14 +69,9 @@
                     continue;
 
-                if (!wait)
-                    dim.log(table[i][0]+" in ["+states[i]+"] not as it ought to be ["+table[i][1]+"]");
-
+                dim.log(table[i][0]+" in ["+states[i]+"] not as it ought to be ["+table[i][1]+"]");
                 rc = false;
             }
-            if (rc)
-                return rc;
-
-            if (!wait)
-                return false;
+
+            return rc;
         }
 
