mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	fix bug 4032:$password not single quoted in /opt/xcat/share/xcat/cons/ipmi
This commit is contained in:
		| @@ -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 = ''; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user