Skip to content

Commit

Permalink
ensure we don't override hostname output with collation
Browse files Browse the repository at this point in the history
  • Loading branch information
worr committed Nov 28, 2018
1 parent 28d6853 commit 37bfc5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ int main(int argc, char** argv) {
cmd_info.script = script;

// 20 will be our magic number for hosts
if (num_hosts < 20 || collate_output) {
if (!hostname_output && (num_hosts < 20 || collate_output)) {
out_info->type = WSHC_OUTPUT_TYPE_COLLATED;
collate_output = TRUE;
} else {
Expand Down

0 comments on commit 37bfc5a

Please sign in to comment.