Commit 7790f8d2 authored by adam j hartz's avatar adam j hartz

put in an actual error message for umask

parent d1f077ae
......@@ -167,7 +167,7 @@ def umask(args, stdin, stdout, stderr):
try:
cur = single_symbolic_arg(subarg, cur)
except:
print('OOPS!', file=stderr)
print('error: could not parse argument: %r' % subarg, file=stderr)
return 1
cur = invert(cur)
os.umask(cur)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment