summaryrefslogtreecommitdiff
path: root/lib/sigevent.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sigevent.c')
-rw-r--r--lib/sigevent.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sigevent.c b/lib/sigevent.c
index 0f20bc0270..985bedeb92 100644
--- a/lib/sigevent.c
+++ b/lib/sigevent.c
@@ -134,8 +134,7 @@ int frr_sigevent_process(void)
#ifdef SIGEVENT_BLOCK_SIGNALS
if (sigprocmask(SIG_UNBLOCK, &oldmask, NULL) < 0)
- ;
- return -1;
+ return -1;
#endif /* SIGEVENT_BLOCK_SIGNALS */
return 0;