From 97b9c613cc5368a7f3dc83599212f468e31d2c0f Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Tue, 8 Apr 2014 02:17:49 -0700 Subject: [PATCH] fix bug 4032:$password not single quoted in /opt/xcat/share/xcat/cons/ipmi --- xCAT-server/share/xcat/cons/ipmi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/share/xcat/cons/ipmi b/xCAT-server/share/xcat/cons/ipmi index d718073b7..26bf99b3d 100755 --- a/xCAT-server/share/xcat/cons/ipmi +++ b/xCAT-server/share/xcat/cons/ipmi @@ -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 = ''; }