summaryrefslogtreecommitdiffstats
path: root/util/reaper.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/reaper.c')
-rw-r--r--util/reaper.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/reaper.c b/util/reaper.c
index 2fc587e0..7904566d 100644
--- a/util/reaper.c
+++ b/util/reaper.c
@@ -49,7 +49,11 @@ int check(int n, userec_t *u) {
int main(int argc, char **argv)
{
now = time(NULL);
+#ifdef Solaris
+ openlog("reaper", LOG_PID, SYSLOG_FACILITY);
+#else
openlog("reaper", LOG_PID | LOG_PERROR, SYSLOG_FACILITY);
+#endif
chdir(BBSHOME);
attach_SHM();