From a42524251effb54496681f849f2c599273faa3a4 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 29 Jan 2010 16:44:48 +0100 Subject: syslog: remove stray umask(0) Signed-off-by: Denys Vlasenko --- sysklogd/syslogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; */ -- cgit v1.2.3