fix the rmdef,chdef,mkdef return code problem, found by automation bucket
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7447 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
21aad5069c
commit
8686e4c4a5
@ -156,15 +156,15 @@ sub process_request
|
||||
($ret, $msg) = &defrm;
|
||||
}
|
||||
|
||||
my $rsp;
|
||||
my $rsp;
|
||||
if ($msg)
|
||||
{
|
||||
$rsp->{data}->[0] = $msg;
|
||||
$::callback->($rsp);
|
||||
}
|
||||
if ($ret > 0) {
|
||||
$rsp->{errorcode}->[0] = $ret;
|
||||
}
|
||||
if ($ret > 0) {
|
||||
$rsp->{errorcode}->[0] = $ret;
|
||||
}
|
||||
$::callback->($rsp);
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user