From 5b26f94f276d60d5439055279a40320fd7215b8b Mon Sep 17 00:00:00 2001 From: lissav Date: Thu, 16 Jun 2011 12:57:50 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/tabutils.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/tabutils.pm b/xCAT-server/lib/xcat/plugins/tabutils.pm index 11a7634cb..919f5edf2 100644 --- a/xCAT-server/lib/xcat/plugins/tabutils.pm +++ b/xCAT-server/lib/xcat/plugins/tabutils.pm @@ -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;