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:
lissav 2011-06-16 12:57:50 +00:00
parent e424d5ee5a
commit 5b26f94f27

View File

@ -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;