aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/umask.fish
diff options
context:
space:
mode:
authorGravatar David Frascone <codemonkey@BananaTree.local>2010-11-05 09:26:26 -0600
committerGravatar David Frascone <codemonkey@BananaTree.local>2010-11-05 09:26:26 -0600
commitce08bb2ad2d6b6d283f62d0c5bc35bb4bacb3b81 (patch)
tree463c85aff016ebc50d848e5a82a5e8c718668a83 /share/functions/umask.fish
parent93f797326e2824dee84ca13eab19fa7782108a68 (diff)
The grep on the commands would sometimes output errors, causing noise and
breaking scripts.
Diffstat (limited to 'share/functions/umask.fish')
-rw-r--r--share/functions/umask.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/umask.fish b/share/functions/umask.fish
index 319ce9ac..4ddb5dd6 100644
--- a/share/functions/umask.fish
+++ b/share/functions/umask.fish
@@ -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