The grep on the commands would sometimes output errors, causing noise and

breaking scripts.
This commit is contained in:
David Frascone
2010-11-05 09:26:26 -06:00
parent 93f797326e
commit ce08bb2ad2
4 changed files with 4 additions and 4 deletions

View File

@@ -145,7 +145,7 @@ function umask --description "Set default file permission mask"
set longopt -l as-command,symbolic,help
end
if not getopt -n umask -Q $shortopt $longopt -- $argv
if not getopt -n umask -Q $shortopt $longopt -- $argv >/dev/null
return 1
end