From f6f6ead7386daa439c6ec2156d91e04a2eefce14 Mon Sep 17 00:00:00 2001 From: barate Date: Fri, 13 Apr 2012 15:39:43 +0000 Subject: [PATCH] Properly handle WAITING state --- src/Vishnu/Batch_JobInfo_eVishnu.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Vishnu/Batch_JobInfo_eVishnu.cxx b/src/Vishnu/Batch_JobInfo_eVishnu.cxx index 083c055..d4b89d4 100644 --- a/src/Vishnu/Batch_JobInfo_eVishnu.cxx +++ b/src/Vishnu/Batch_JobInfo_eVishnu.cxx @@ -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") { -- 2.39.2