diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-09 13:50:35 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-09 13:50:35 +0200 |
commit | 4bd01053c5efd872d79baee7e23e0dbcdc4167ba (patch) | |
tree | e814663e63c81dfc8f53f7b5a1b3eea54f208a73 /tools/syslogd.c | |
parent | 9b34b305d8de2012a969675148950b7e10a1924b (diff) | |
parent | de38f744de1ce746e6e61098fd4a05ac76ef71a0 (diff) | |
download | rsyslog-4bd01053c5efd872d79baee7e23e0dbcdc4167ba.tar.gz rsyslog-4bd01053c5efd872d79baee7e23e0dbcdc4167ba.tar.bz2 rsyslog-4bd01053c5efd872d79baee7e23e0dbcdc4167ba.zip |
Merge branch 'tcpflood' into nextmaster
Conflicts:
ChangeLog
Diffstat (limited to 'tools/syslogd.c')
-rw-r--r-- | tools/syslogd.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/syslogd.c b/tools/syslogd.c index 0badac19..a4f0059b 100644 --- a/tools/syslogd.c +++ b/tools/syslogd.c @@ -3591,18 +3591,10 @@ int realMain(int argc, char **argv) fprintf(stderr, "-t option only supported in compatibility modes 0 to 2 - ignored\n"); break; case 'T':/* chroot() immediately at program startup, but only for testing, NOT security yet */ -{ -char buf[1024]; -getcwd(buf, 1024); -printf("pwd: '%s'\n", buf); -printf("chroot to '%s'\n", arg); if(chroot(arg) != 0) { perror("chroot"); exit(1); } -getcwd(buf, 1024); -printf("pwd: '%s'\n", buf); -} break; case 'u': /* misc user settings */ iHelperUOpt = atoi(arg); |