change comment

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14186 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2012-10-31 19:23:59 +00:00
parent 0a554136b9
commit c8db25f98d

View File

@ -1095,14 +1095,14 @@ sub runcmd
return output as reference to an array
my $outref = xCAT::Utils->runxcmd($cmd,$sub_req, -2, 1);
return response structure from plugin
return response hash from plugin
my $outref = xCAT::Utils->runxcmd($cmd,$sub_req, -2, 2);
Comments:
If refoutput is 1, then the output will be returned as a
reference to an array for efficiency.
If refoutput is 2, then the response structure will be returned
If refoutput is 2, then the response hash will be returned
as output. runxcmd will not parse the request structure.
Do not use the scalar string input for xdsh unless you are running