check PBS ErrMsg

git-svn-id: svn://opensvn.adaptivecomputing.com/maui/trunk@40 3f5042e3-fb1d-0410-be18-d6ca2573e517
This commit is contained in:
dev 2005-10-14 23:17:24 +00:00
parent d824c33e73
commit 13d8a0224c
3 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
#define MSCHED_VERSION "maui-3.2.6p14-snap.1129170413"
#define MSCHED_VERSION "maui-3.2.6p14-snap.1129172045"

View File

@ -884,11 +884,11 @@ int MAMAllocRDebit(
MXMLAddE(JE,AE);
}
if (MSched.Name[0] != '\0')
if (MRM[0].Name[0] != '\0')
{
AE = NULL;
MXMLCreateE(&AE,"MachineName");
MXMLSetVal(AE,(void *)MSched.Name,mdfString);
MXMLSetVal(AE,(void *)MRM[0].Name,mdfString);
MXMLAddE(JE,AE);
}

View File

@ -594,7 +594,7 @@ int MPBSWorkloadQuery(
else
{
DBG(0,fPBS) DPrint("ALERT: queue is empty or cannot get PBS job info: %s\n",
ErrMsg);
(ErrMsg != NULL) ? ErrMsg : "N/A");
R->U.PBS.ServerSDTimeStamp = 0;