summaryrefslogtreecommitdiff
path: root/mount/umount.c
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2006-12-07 00:26:02 +0100
committerKarel Zak <kzak@redhat.com>2006-12-07 00:26:02 +0100
commit0e6f4a203d8715710ff09683390be2897cca3804 (patch)
tree982a4e50be23b6c30245c61bfed170c592b34e41 /mount/umount.c
parentf0c8eda12c410fb56630de47f6d50cac15f7529a (diff)
downloadutil-linux-old-0e6f4a203d8715710ff09683390be2897cca3804.tar.gz
Imported from util-linux-2.11v tarball.
Diffstat (limited to 'mount/umount.c')
-rw-r--r--mount/umount.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mount/umount.c b/mount/umount.c
index ba7f35a4..39c8385e 100644
--- a/mount/umount.c
+++ b/mount/umount.c
@@ -614,6 +614,8 @@ main (int argc, char *argv[]) {
bindtextdomain(PACKAGE, LOCALEDIR);
textdomain(PACKAGE);
+ umask(033);
+
while ((c = getopt_long (argc, argv, "adfhlnrt:vV",
longopts, NULL)) != -1)
switch (c) {