fix bug 4032:$password not single quoted in /opt/xcat/share/xcat/cons/ipmi
This commit is contained in:
parent
cbdbf16c39
commit
97b9c613cc
@ -72,12 +72,12 @@ release_lock();
|
||||
|
||||
my ($user,$pass);
|
||||
if ($username) {
|
||||
$user = "-U $username";
|
||||
$user = "-U '$username'";
|
||||
} else {
|
||||
$user = '';
|
||||
}
|
||||
if ($password) {
|
||||
$pass = "-P $password";
|
||||
$pass = "-P '$password'";
|
||||
} else {
|
||||
$pass = '';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user