diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-29 16:44:48 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-29 16:44:48 +0100 |
commit | a42524251effb54496681f849f2c599273faa3a4 (patch) | |
tree | da2932af597b274f87c678dee14d25a3d64353ac /sysklogd | |
parent | ac3645051ce22a78f0f6b8e6a88bfbad116452c7 (diff) | |
download | busybox-a42524251effb54496681f849f2c599273faa3a4.tar.gz |
syslog: remove stray umask(0)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'sysklogd')
-rw-r--r-- | sysklogd/syslogd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index 754fa44b3..8338d6be8 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c @@ -698,7 +698,7 @@ int syslogd_main(int argc UNUSED_PARAM, char **argv) if (!(opts & OPT_nofork)) { bb_daemonize_or_rexec(DAEMON_CHDIR_ROOT, argv); } - umask(0); + //umask(0); - why?? write_pidfile("/var/run/syslogd.pid"); do_syslogd(); /* return EXIT_SUCCESS; */ |