summaryrefslogtreecommitdiffstats
path: root/util/reaper.c
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-09 19:00:41 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-09 19:00:41 +0800
commit8ece8c40c2e59d2a39e05be707babc8828b5ad52 (patch)
treea88afea4c467e90b690af31d6ca798bb1100fc32 /util/reaper.c
parent0e42926d72a2c2d11ab4c5606b680d5d79604939 (diff)
downloadpttbbs-8ece8c40c2e59d2a39e05be707babc8828b5ad52.tar
pttbbs-8ece8c40c2e59d2a39e05be707babc8828b5ad52.tar.gz
pttbbs-8ece8c40c2e59d2a39e05be707babc8828b5ad52.tar.bz2
pttbbs-8ece8c40c2e59d2a39e05be707babc8828b5ad52.tar.lz
pttbbs-8ece8c40c2e59d2a39e05be707babc8828b5ad52.tar.xz
pttbbs-8ece8c40c2e59d2a39e05be707babc8828b5ad52.tar.zst
pttbbs-8ece8c40c2e59d2a39e05be707babc8828b5ad52.zip
Drop Solaris support
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4115 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/reaper.c')
-rw-r--r--util/reaper.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/util/reaper.c b/util/reaper.c
index a5218706..d89f6e56 100644
--- a/util/reaper.c
+++ b/util/reaper.c
@@ -165,11 +165,7 @@ int check_last_login(void *data, 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();