From 3a27df341c39eaf7b2181d3f036c68b080e07a74 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Mon, 31 Jul 2006 23:27:50 +0000 Subject: Fix SIGHUP behavior, broken since 5.9.13 (r3692). svn path=/branches/BRANCH_6-3/; revision=4871 --- fetchmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fetchmail.c') diff --git a/fetchmail.c b/fetchmail.c index 1c895a0a..ad351dff 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -808,7 +808,7 @@ int main(int argc, char **argv) * for people who think all system daemons wake up on SIGHUP. */ set_signal_handler(SIGUSR1, donothing); - if (getuid() != ROOT_UID) + if (getuid() == ROOT_UID) set_signal_handler(SIGHUP, donothing); /* -- cgit v1.2.3