forked from ungleich-public/cdist
		
	Password is unused in the else branch
This commit is contained in:
		
					parent
					
						
							
								82f48ef271
							
						
					
				
			
			
				commit
				
					
						0844f717a8
					
				
			
		
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -45,7 +45,6 @@ if [ -f "$__object/parameter/user" ]; then
 | 
			
		|||
EOF
 | 
			
		||||
EOFF
 | 
			
		||||
   else
 | 
			
		||||
      password=""
 | 
			
		||||
      cat <<-EOFF
 | 
			
		||||
      mysql -u root <<-EOF
 | 
			
		||||
      	GRANT ALL PRIVILEGES ON $database.* to '$user'@'localhost';
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue