summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-05-05 07:35:56 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-05-07 17:14:32 -0400
commit67607dda05e36c4d0be4647160ad376b89d89c51 (patch)
treeb1e03b71bce6513d846cedff236c4e496061ecc3 /src/util
parent3010e6a1cb1a9d57aa37a2367880c8cc0871b06e (diff)
downloadsssd-67607dda05e36c4d0be4647160ad376b89d89c51.tar.gz
sssd-67607dda05e36c4d0be4647160ad376b89d89c51.tar.xz
sssd-67607dda05e36c4d0be4647160ad376b89d89c51.zip
Clean up kdcinfo and kpasswdinfo files when exiting
Diffstat (limited to 'src/util')
-rw-r--r--src/util/server.c2
-rw-r--r--src/util/util.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/util/server.c b/src/util/server.c
index a0ec2a265..007b36241 100644
--- a/src/util/server.c
+++ b/src/util/server.c
@@ -178,7 +178,7 @@ static void sig_hup(int sig)
return;
}
-static void sig_term(int sig)
+void sig_term(int sig)
{
#if HAVE_GETPGRP
static int done_sigterm;
diff --git a/src/util/util.h b/src/util/util.h
index 0b691a7e6..25e7b6c28 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -218,6 +218,7 @@ int server_setup(const char *name, int flags,
const char *conf_entry,
struct main_context **main_ctx);
void server_loop(struct main_context *main_ctx);
+void sig_term(int sig);
/* from signal.c */
#include <signal.h>