mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-01 22:48:25 +00: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
@ -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 New Issue
Block a user