1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #2239 from marktheunissen/nolog-mysql

Fix bug from copy-paste
This commit is contained in:
Michael DeHaan 2013-02-28 12:07:42 -08:00
commit fab3a522e2

View file

@ -298,7 +298,7 @@ def main():
login_password = ""
else:
login_user = mycnf_creds["user"]
login_password = mycnf_creds["password"]
login_password = mycnf_creds["passwd"]
elif login_password is None or login_user is None:
module.fail_json(msg="when supplying login arguments, both login_user and login_password must be provided")