summaryrefslogtreecommitdiff
path: root/sysklogd/syslogd.c
diff options
context:
space:
mode:
authorDenys Vlasenko2010-01-29 16:44:48 +0100
committerDenys Vlasenko2010-01-29 16:44:48 +0100
commita42524251effb54496681f849f2c599273faa3a4 (patch)
treeda2932af597b274f87c678dee14d25a3d64353ac /sysklogd/syslogd.c
parentac3645051ce22a78f0f6b8e6a88bfbad116452c7 (diff)
downloadbusybox-a42524251effb54496681f849f2c599273faa3a4.zip
busybox-a42524251effb54496681f849f2c599273faa3a4.tar.gz
syslog: remove stray umask(0)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'sysklogd/syslogd.c')
-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; */