* Set umask to 0022 on startup.

This commit is contained in:
Eelco Dolstra 2003-05-30 20:53:36 +00:00
parent 5908663f42
commit f66055fa1e
3 changed files with 6 additions and 0 deletions

View file

@ -301,6 +301,8 @@ void printUsage()
/* Parse the command-line arguments, call the right operation. */
void run(Strings::iterator argCur, Strings::iterator argEnd)
{
umask(0022);
Strings extraArgs;
enum { cmdUnknown, cmdInstantiate } command = cmdUnknown;