basic/signal-util: drop unnecessary parens

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2019-11-02 11:56:03 +01:00
parent df957acc66
commit 08e82b84ca
+1 -1
View File
@@ -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;
}