summaryrefslogtreecommitdiffstats
path: root/src/util/server.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-11-09 16:11:04 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-11-12 11:24:57 +0100
commit27712b5a46e3b579b9d03e363a7d0769e8c307fc (patch)
tree1508dd6bf8f10500883172b4e67e1c48a3aa9c66 /src/util/server.c
parentd054a96e102b53a3aab6602f531a0e8d254080ab (diff)
downloadsssd-27712b5a46e3b579b9d03e363a7d0769e8c307fc.tar.gz
sssd-27712b5a46e3b579b9d03e363a7d0769e8c307fc.tar.xz
sssd-27712b5a46e3b579b9d03e363a7d0769e8c307fc.zip
Signals: Remove empty sig_hup
SIGHUP handling is implemented later using a tevent handler so sig_hup() is useless.
Diffstat (limited to 'src/util/server.c')
-rw-r--r--src/util/server.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/util/server.c b/src/util/server.c
index c1a9644a1..11569b937 100644
--- a/src/util/server.c
+++ b/src/util/server.c
@@ -237,12 +237,6 @@ int pidfile(const char *path, const char *name)
return 0;
}
-static void sig_hup(int sig)
-{
- /* cycle log/debug files */
- return;
-}
-
void sig_term(int sig)
{
#if HAVE_GETPGRP
@@ -321,8 +315,6 @@ static void setup_signals(void)
BlockSignals(false, SIGHUP);
BlockSignals(false, SIGTERM);
- CatchSignal(SIGHUP, sig_hup);
-
#ifndef HAVE_PRCTL
/* If prctl is not defined on the system, try to handle
* some common termination signals gracefully */