aboutsummaryrefslogtreecommitdiff
path: root/uuencode.c
diff options
context:
space:
mode:
Diffstat (limited to 'uuencode.c')
-rw-r--r--uuencode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uuencode.c b/uuencode.c
index 1789aefbb..fc037403a 100644
--- a/uuencode.c
+++ b/uuencode.c
@@ -117,7 +117,7 @@ int uuencode_main(int argc, char **argv)
}
break;
case 1:
- mode = umask(0666);
+ mode = 0666 & ~umask(0666);
break;
default:
show_usage();