From 0e6f4a203d8715710ff09683390be2897cca3804 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 7 Dec 2006 00:26:02 +0100 Subject: Imported from util-linux-2.11v tarball. --- mount/mount.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mount/mount.c') 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 */ -- cgit v1.2.3-55-g7522