mirror of
https://github.com/sheumann/hush.git
synced 2024-12-26 10:32:02 +00:00
syslog: remove stray umask(0)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
ac3645051c
commit
a42524251e
@ -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; */
|
||||
|
Loading…
Reference in New Issue
Block a user