mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-21 02:30:21 +00:00
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:
@@ -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={
|
||||
|
Reference in New Issue
Block a user