diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-08 18:18:31 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-08 18:18:31 +0200 |
commit | de38f744de1ce746e6e61098fd4a05ac76ef71a0 (patch) | |
tree | aa02dbbbc7f6b316fbeea67aec5721d9d94a8a8a /tools/syslogd.c | |
parent | 7cc7166cb24e50e48cab1cbb3c19c8c17d95ace7 (diff) | |
download | rsyslog-de38f744de1ce746e6e61098fd4a05ac76ef71a0.tar.gz rsyslog-de38f744de1ce746e6e61098fd4a05ac76ef71a0.tar.xz rsyslog-de38f744de1ce746e6e61098fd4a05ac76ef71a0.zip |
minor cleanup
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); |