]> SALOME platform Git repositories - tools/libbatch.git/commitdiff
Salome HOME
Properly handle WAITING state
authorbarate <barate>
Fri, 13 Apr 2012 15:39:43 +0000 (15:39 +0000)
committerbarate <barate>
Fri, 13 Apr 2012 15:39:43 +0000 (15:39 +0000)
src/Vishnu/Batch_JobInfo_eVishnu.cxx

index 083c05593a8046d061d21e782a512df391061c7e..d4b89d4b3e8a763bee0c9454931cf0012bd76275 100644 (file)
@@ -78,6 +78,8 @@ namespace Batch {
       _param[STATE] = FINISHED;
     } else if (status == "QUEUED") {
       _param[STATE] = QUEUED;
+    } else if (status == "WAITING") {
+      _param[STATE] = QUEUED;
     } else if (status == "RUNNING") {
       _param[STATE] = RUNNING;
     } else if (status == "TERMINATED") {