Allow MsgUtils to accept 0 as a return code on error

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14619 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2012-12-11 14:34:37 +00:00
parent 7f9d3ce3cf
commit 7aaa8059f0

View File

@ -408,7 +408,7 @@ sub message
return;
}
if ($exitcode)
if (defined($exitcode))
{
push @{$rsp->{errorcode}}, $exitcode;
}