summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-01-29 15:44:48 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2010-01-29 15:44:48 (GMT)
commita42524251effb54496681f849f2c599273faa3a4 (patch)
treeda2932af597b274f87c678dee14d25a3d64353ac
parentac3645051ce22a78f0f6b8e6a88bfbad116452c7 (diff)
downloadbusybox-a42524251effb54496681f849f2c599273faa3a4.tar.gz
busybox-a42524251effb54496681f849f2c599273faa3a4.tar.bz2
syslog: remove stray umask(0)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--sysklogd/syslogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 754fa44..8338d6b 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; */