[git commit master] syslog: remove stray umask(0)

Denys Vlasenko vda.linux at googlemail.com
Fri Jan 29 15:44:48 UTC 2010


commit: http://git.busybox.net/busybox/commit/?id=a42524251effb54496681f849f2c599273faa3a4
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 sysklogd/syslogd.c |    2 +-
 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; */
-- 
1.6.3.3



More information about the busybox-cvs mailing list