mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-10 09:21:35 -04:00
MINOR: ssl/cli: display warning during 'commit ssl cert'
Display the warnings on the CLI during a commit of the certificates.
This commit is contained in:
parent
8ef0c2a569
commit
ed44243de7
1 changed files with 4 additions and 1 deletions
|
|
@ -10200,7 +10200,10 @@ static int cli_io_handler_commit_cert(struct appctx *appctx)
|
|||
}
|
||||
end:
|
||||
|
||||
chunk_appendf(trash, "\nSuccess!\n");
|
||||
chunk_appendf(trash, "\n");
|
||||
if (errcode & ERR_WARN)
|
||||
chunk_appendf(trash, err);
|
||||
chunk_appendf(trash, "Success!\n");
|
||||
if (ci_putchk(si_ic(si), trash) == -1)
|
||||
si_rx_room_blk(si);
|
||||
free_trash_chunk(trash);
|
||||
|
|
|
|||
Loading…
Reference in a new issue