aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-07-31 23:27:50 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-07-31 23:27:50 +0000
commit3a27df341c39eaf7b2181d3f036c68b080e07a74 (patch)
treeb5f99f1117fd6e1799e64cd6fefd5c828835b7d0 /fetchmail.c
parent5b9086a2c5040711cb9a5feb7158146af42b70ab (diff)
downloadfetchmail-3a27df341c39eaf7b2181d3f036c68b080e07a74.tar.gz
fetchmail-3a27df341c39eaf7b2181d3f036c68b080e07a74.tar.bz2
fetchmail-3a27df341c39eaf7b2181d3f036c68b080e07a74.zip
Fix SIGHUP behavior, broken since 5.9.13 (r3692).
svn path=/branches/BRANCH_6-3/; revision=4871
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c2
1 files changed, 1 insertions, 1 deletions
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);
/*