summaryrefslogtreecommitdiff
path: root/lib/northbound_grpc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/northbound_grpc.cpp')
-rw-r--r--lib/northbound_grpc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/northbound_grpc.cpp b/lib/northbound_grpc.cpp
index 96a11d67bd..a664fbac4a 100644
--- a/lib/northbound_grpc.cpp
+++ b/lib/northbound_grpc.cpp
@@ -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;