diff options
author | Jeremy Katz <katzj@redhat.com> | 2007-01-17 16:24:22 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2007-01-17 16:24:22 +0000 |
commit | a726f8e99048358db84020cd886e5a711a616390 (patch) | |
tree | c078a5e053d50edddd793de0ed500fa19f220ebc /isys/auditd.c | |
parent | e1a4dae7c716db5b325222949cea4c80645f2c8e (diff) | |
download | anaconda-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/auditd.c')
-rw-r--r-- | isys/auditd.c | 5 |
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 |