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
|
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';
|
||||||
|
|
Loading…
Reference in a new issue