diff options
Diffstat (limited to 'mount/mount.c')
-rw-r--r-- | mount/mount.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mount/mount.c b/mount/mount.c index fb1ca716f..1f9fc6e62 100644 --- a/mount/mount.c +++ b/mount/mount.c @@ -1411,6 +1411,8 @@ main (int argc, char *argv[]) { bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); + umask(033); + /* People report that a mount called from init without console writes error messages to /etc/mtab Let us try to avoid getting fd's 0,1,2 */ |