mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-23 12:51:10 +00:00
have xCATWorld print out error messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1475 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@@ -134,6 +134,11 @@ sub handle_response
|
||||
# Handle {node} structure
|
||||
if ($rsp->{errorcode})
|
||||
{
|
||||
if ($rsp->{error}) {
|
||||
foreach my $etext (@{$rsp->{error}}) {
|
||||
print ($etext."\n");
|
||||
}
|
||||
}
|
||||
foreach my $ecode (@{$rsp->{errorcode}})
|
||||
{
|
||||
$exitcode |= $ecode;
|
||||
|
Reference in New Issue
Block a user