Fix -t tree mode so it writes out the value for each host, not everything, once again

pull/70/head
Michael DeHaan 12 years ago
parent e6f175e929
commit db61e8f346

@ -181,7 +181,7 @@ class Cli(object):
options.one_line
)
if options.tree:
write_tree_file(options.tree, hostname, bigjson(results))
write_tree_file(options.tree, hostname, bigjson(contacted_host_result(results, hostname)))
buf += msg
if has_dark_hosts(results):

Loading…
Cancel
Save