fix defect 3313824, add version to lscatd -a
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9826 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
e424d5ee5a
commit
5b26f94f27
@ -694,12 +694,14 @@ sub lsxcatd
|
||||
|
||||
if ($HELP) { $lsxcatd_usage->(0); return; }
|
||||
# Version
|
||||
if ($VERSION) {
|
||||
if ($VERSION || $ALL) {
|
||||
my %rsp;
|
||||
my $version = xCAT::Utils->Version();
|
||||
$rsp{data}->[0] = "$version";
|
||||
$cb->(\%rsp);
|
||||
if (!$ALL) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
# no arguments error
|
||||
my $xcatcfg;
|
||||
|
Loading…
x
Reference in New Issue
Block a user