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 authored and GitLab committed Oct 25, 2016
1 parent 6af8cc0 commit 3cbc0cb
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 3cbc0cb

Please sign in to comment.