Commit db61e8f3 by Michael DeHaan

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

parent e6f175e9
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment