Merge pull request #2239 from marktheunissen/nolog-mysql

Fix bug from copy-paste
pull/2241/head
Michael DeHaan 12 years ago
commit fab3a522e2

@ -298,7 +298,7 @@ def main():
login_password = "" login_password = ""
else: else:
login_user = mycnf_creds["user"] 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: 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") module.fail_json(msg="when supplying login arguments, both login_user and login_password must be provided")

Loading…
Cancel
Save