No authentication with --syntax-check

pull/2011/head
schmic 12 years ago
parent dddfeac9c4
commit dd9e3430e4

@ -77,7 +77,7 @@ def main(args):
sshpass = None
sudopass = None
if not options.listhosts:
if not options.listhosts and not options.syntax:
options.ask_pass = options.ask_pass or C.DEFAULT_ASK_PASS
if options.ask_pass:
sshpass = getpass.getpass(prompt="SSH password: ")

Loading…
Cancel
Save