Skip to content

Commit

Permalink
Merge pull request ansible#8721 from sergevanginderachter/syntax_chec…
Browse files Browse the repository at this point in the history
…k_avoid_blank_output

Avoid multiple blank lines with --syntax-check
  • Loading branch information
jimi-c committed Aug 22, 2014
2 parents 2e6f980 + ad3d3c7 commit 32a5c2b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/ansible-playbook
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@ def main(args):
if getattr(task, 'name', None) is not None:
# meta tasks have no names
print ' %s' % task.name
print ''
if options.listhosts or options.listtasks:
print ''
continue

if options.syntax:
Expand Down

0 comments on commit 32a5c2b

Please sign in to comment.