diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -70,6 +70,7 @@ void toy_init(struct toy_list *which, char *argv[]) toys.argv = argv; if (NEED_OPTIONS && which->options) get_optflags(); else toys.optargs = argv+1; + if (which->flags & TOYFLAG_UMASK) toys.old_umask = umask(0); } // Run a toy. |