Skip to content

Commit

Permalink
doveadm director dump: Fixed output to include LFs
Browse files Browse the repository at this point in the history
Otherwise all the output will be mixed up in the same line.
  • Loading branch information
sirainen committed Oct 25, 2016
1 parent 5872208 commit 7929dac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doveadm/doveadm-director.c
Expand Up @@ -722,9 +722,9 @@ static void cmd_director_dump(struct doveadm_cmd_context *cctx)

doveadm_print_init(DOVEADM_PRINT_TYPE_FORMATTED);
if (ctx->explicit_socket_path)
doveadm_print_formatted_set_format("doveadm director %{command} -a %{socket-path} %{host} %{vhost_count}");
doveadm_print_formatted_set_format("doveadm director %{command} -a %{socket-path} %{host} %{vhost_count}\n");
else
doveadm_print_formatted_set_format("doveadm director %{command} %{host} %{vhost_count}");
doveadm_print_formatted_set_format("doveadm director %{command} %{host} %{vhost_count}\n");

doveadm_print_header_simple("command");
doveadm_print_header_simple("socket-path");
Expand Down

0 comments on commit 7929dac

Please sign in to comment.