mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 19:13:58 +00:00
lib: fix undue warning during gRPC module initialization
This warning only shows up when a daemon is started with --log=stdout. Fix it. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
This commit is contained in:
parent
0dca7bb209
commit
69ec583289
@ -1406,6 +1406,8 @@ static int frr_grpc_module_very_late_init(struct thread *thread)
|
||||
if (frr_grpc_init(&port) < 0)
|
||||
goto error;
|
||||
|
||||
return 0;
|
||||
|
||||
error:
|
||||
flog_err(EC_LIB_GRPC_INIT, "failed to initialize the gRPC module");
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user