fix bug 4032:$password not single quoted in /opt/xcat/share/xcat/cons/ipmi

This commit is contained in:
zhaoertao 2014-04-08 02:17:49 -07:00
parent cbdbf16c39
commit 97b9c613cc

View File

@ -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 = '';
}