summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-07-03 19:16:09 +0200
committerJohn Crispin <blogic@openwrt.org>2013-07-03 20:28:03 +0200
commit4ec2545ed6a0626715802a1c7919fe0e38436301 (patch)
tree218bd1e65c597ee92fc57ab8f6cc73385d367935 /main.c
parenta2953547e345eb6dd4e48474ca1e48082d3d564f (diff)
downloadunitd-4ec2545ed6a0626715802a1c7919fe0e38436301.tar
unitd-4ec2545ed6a0626715802a1c7919fe0e38436301.zip
properly fix umask handling
https://dev.openwrt.org/ticket/13752 https://dev.openwrt.org/ticket/13794 Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/main.c b/main.c
index 71531e3..6610c37 100644
--- a/main.c
+++ b/main.c
@@ -68,7 +68,6 @@ int main(int argc, char **argv)
return usage(argv[0]);
}
}
- umask(0);
uloop_init();
procd_signal();
if (getpid() != 1)