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
e48e3b1c
Commit
e48e3b1c
authored
Aug 05, 2013
by
ligc
Browse files
fix for bug 4212: rnetboot -m and rpower -m arguments parsing error
parent
3e1316d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
perl-xCAT/xCAT/Utils.pm
100644 → 100755
View file @
e48e3b1c
...
...
@@ -2552,6 +2552,12 @@ sub check_deployment_monitoring_settings()
(
$attr
,
$val
)
=
split
/=~/
,
$m
,
2
;
$val
=~
s/^\///
;
$val
=~
s/\/$//
;
}
elsif
(
$m
=~
/^[^=]*!=/
)
{
(
$attr
,
$val
)
=
split
/!=/
,
$m
,
2
;
}
elsif
(
$m
=~
/^[^=]*!~/
)
{
(
$attr
,
$val
)
=
split
/!~/
,
$m
,
2
;
$val
=~
s/^\///
;
$val
=~
s/\/$//
;
}
else
{
my
$rsp
=
{};
$rsp
->
{
data
}
->
[
0
]
=
"
Invalid string
\"
$m
\"
specified with -m flag
";
...
...
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