Password is unused in the else branch

This commit is contained in:
Antoine Catton 2014-12-27 20:26:29 -07:00
parent 82f48ef271
commit 0844f717a8

View file

@ -45,7 +45,6 @@ if [ -f "$__object/parameter/user" ]; then
EOF EOF
EOFF EOFF
else else
password=""
cat <<-EOFF cat <<-EOFF
mysql -u root <<-EOF mysql -u root <<-EOF
GRANT ALL PRIVILEGES ON $database.* to '$user'@'localhost'; GRANT ALL PRIVILEGES ON $database.* to '$user'@'localhost';