summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-08-10 18:37:32 +0000
committerLaurent Bercot <ska@appnovation.com>2021-08-10 18:37:32 +0000
commitc4f5028b95067d97ff53894e705186004e51a81a (patch)
treecfdccd109d4a4bfdc94b0b3d7e974ef42025cbbb /src
parentafa9e940e6748f3f9edd3f5b9b11f0b5337e2492 (diff)
downloaddnsfunnel-c4f5028b95067d97ff53894e705186004e51a81a.tar.xz
Prepare for 0.0.1.2; adapt to skalibs-2.11.0.0
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src')
-rw-r--r--src/dnsfunnel/dnsfunneld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dnsfunnel/dnsfunneld.c b/src/dnsfunnel/dnsfunneld.c
index 8c909a0..1eda1d3 100644
--- a/src/dnsfunnel/dnsfunneld.c
+++ b/src/dnsfunnel/dnsfunneld.c
@@ -229,7 +229,7 @@ int main (int argc, char const *const *argv)
if (fd_move(0, fd) < 0)
strerr_diefu1sys(111, "move file descriptors") ;
if (ndelay_on(0) < 0) strerr_diefu1sys(111, "turn stdin non-blocking") ;
- if (sig_ignore(SIGPIPE) < 0) strerr_diefu1sys(111, "ignore SIGPIPE") ;
+ if (!sig_altignore(SIGPIPE)) strerr_diefu1sys(111, "ignore SIGPIPE") ;
if (!random_init()) strerr_diefu1sys(111, "s6dns_init") ;
if (root[0])