Add error processing.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9266 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
b043ab7205
commit
084464ecad
@ -166,6 +166,9 @@ sub getans {
|
||||
my $rsp = shift;
|
||||
if ($rsp->{node}) {
|
||||
$hcps = $rsp->{node}->[0]->{hcp};
|
||||
if ( $rsp->{node}->[0]->{errorcode} ) {
|
||||
print STDERR "$rsp->{node}->[0]->{error}";
|
||||
}
|
||||
}
|
||||
}
|
||||
my $cmdref={
|
||||
|
Loading…
Reference in New Issue
Block a user