Index: trunk/ippTools/src/regtool.c
===================================================================
--- trunk/ippTools/src/regtool.c	(revision 30912)
+++ trunk/ippTools/src/regtool.c	(revision 30927)
@@ -1361,12 +1361,15 @@
 
     // set the state for the newExp to stop
-    if (!pxnewExpSetState(config, exp_id, "stop")) {
+    // but only if we didn't encounter a fault
+    if (fault == 0) {
+      if (!pxnewExpSetState(config, exp_id, "stop")) {
         // rollback
         if (!psDBRollback(config->dbh)) {
-            psError(PS_ERR_UNKNOWN, false, "database error");
+	  psError(PS_ERR_UNKNOWN, false, "database error");
         }
         psError(PS_ERR_UNKNOWN, false, "failed to change newExp.state for exp_id: %"PRId64, exp_id);
-    psFree(newExp);
-        return false;
+	psFree(newExp);
+        return false;
+      }
     }
 
