From 08e82b84caa9ff5b1ea62709f06fce765f8cedd3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 30 Oct 2019 14:36:05 +0100 Subject: [PATCH] basic/signal-util: drop unnecessary parens --- src/basic/signal-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic/signal-util.c b/src/basic/signal-util.c index fb8a63f..509a18b 100644 --- a/src/basic/signal-util.c +++ b/src/basic/signal-util.c @@ -26,7 +26,7 @@ int reset_all_signal_handlers(void) { /* On Linux the first two RT signals are reserved by * glibc, and sigaction() will return EINVAL for them. */ - if ((sigaction(sig, &sa, NULL) < 0)) + if (sigaction(sig, &sa, NULL) < 0) if (errno != EINVAL && r >= 0) r = -errno; } -- 2.7.4