Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Arif Ali
xcat-core
Commits
d3f25a84
Commit
d3f25a84
authored
Jul 31, 2014
by
zhaoertao
Browse files
fix bug 4213 [FVT on Power 8 DFM]rnetboot -v returns wrong command version
parent
b06ac7a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
perl-xCAT/xCAT/PPCboot.pm
View file @
d3f25a84
...
...
@@ -21,7 +21,6 @@ sub parse_args {
my
%opt
=
();
my
$cmd
=
$request
->
{
command
};
my
$args
=
$request
->
{
arg
};
my
@VERSION
=
qw( 2.1 )
;
#############################################
# Responds with usage statement
...
...
@@ -60,7 +59,8 @@ sub parse_args {
# Option -v for version
####################################
if
(
exists
(
$opt
{
v
}
))
{
return
(
\
@VERSION
);
my
$version
=
xCAT::
Utils
->
Version
();
return
([
$version
]);
}
if
(
exists
(
$opt
{
s} ) ){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment