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

Add newline when printing the password

This commit is contained in:
Matt Martz 2016-01-28 16:20:59 -06:00
parent 6d1a834b81
commit bf52e541fb

View file

@ -68,7 +68,7 @@ def main():
sys.stderr.write('Passwords do not match\n')
sys.exit(1)
else:
sys.stdout.write(keyring.get_password('ansible', username))
sys.stdout.write('%s\n' % keyring.get_password('ansible', username))
sys.exit(0)