From 02defb37b209f276409db23d8884896ffb4c7daf Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 7 Jul 2008 18:38:47 +0000 Subject: [PATCH] Add Utils->Version call git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1843 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/bin/xdsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-client/bin/xdsh b/xCAT-client/bin/xdsh index 12180821d..6e1f804b2 100644 --- a/xCAT-client/bin/xdsh +++ b/xCAT-client/bin/xdsh @@ -193,7 +193,6 @@ sub parse_args_xdsh { my $version = xCAT::Utils->Version(); xCAT::MsgUtils->message("I", $version); - #xCAT::Utils->isLinux(); exit 0; } if ($options{'node-rsh'}) # if set on command line, use it @@ -277,7 +276,8 @@ sub parse_args_xdcp } if ($options{'version'}) { - xCAT::MsgUtils->message("I", "Version 2.0"); + my $version = xCAT::Utils->Version(); + xCAT::MsgUtils->message("I", $version); exit 0; }