Fix bug from copy-paste

This commit is contained in:
Mark Theunissen 2013-02-28 13:55:22 -06:00
parent 52c9a7af24
commit 34bed2fa2e

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")