summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2007-01-17 16:24:22 +0000
committerJeremy Katz <katzj@redhat.com>2007-01-17 16:24:22 +0000
commita726f8e99048358db84020cd886e5a711a616390 (patch)
treec078a5e053d50edddd793de0ed500fa19f220ebc /isys
parente1a4dae7c716db5b325222949cea4c80645f2c8e (diff)
downloadanaconda-a726f8e99048358db84020cd886e5a711a616390.tar.gz
anaconda-a726f8e99048358db84020cd886e5a711a616390.tar.xz
anaconda-a726f8e99048358db84020cd886e5a711a616390.zip
2007-01-17 Jeremy Katz <katzj@redhat.com>
* isys/auditd.c: Don't exit if we're not using SELinux (Elliot Peele)
Diffstat (limited to 'isys')
-rw-r--r--isys/auditd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/isys/auditd.c b/isys/auditd.c
index f2920e0c1..87226b2d7 100644
--- a/isys/auditd.c
+++ b/isys/auditd.c
@@ -117,8 +117,11 @@ int audit_daemonize(void) {
fd = audit_open();
do_auditd(fd);
audit_close(fd);
-#endif /* USESELINUX */
+#ifndef STANDALONE
exit(0);
+#endif /* !defined(STANDALONE) */
+#endif /* USESELINUX */
+ return 0;
}
#ifdef STANDALONE