aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 5195a8557..d9a4a8cfa 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -14489,6 +14489,9 @@ umaskcmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
14489 if (!isdigit(modestr[0])) 14489 if (!isdigit(modestr[0]))
14490 mask ^= 0777; 14490 mask ^= 0777;
14491 umask(mask); 14491 umask(mask);
14492#if ENABLE_PLATFORM_MINGW32
14493 setvareq(xasprintf("BB_UMASK=0%o", mask), VEXPORT|VNOSAVE);
14494#endif
14492 } 14495 }
14493 return 0; 14496 return 0;
14494} 14497}