Fix typo in chflags completion

Reported by:	adamw
This commit is contained in:
Baptiste Daroussin 2016-12-18 12:13:31 +00:00
parent e4f1c050da
commit d464887e15
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=428847
2 changed files with 12 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= zsh
DISTVERSION= 5.3
PORTREVISION= 1
CATEGORIES= shells
MASTER_SITES= http://www.zsh.org/pub/ \
SF \

View File

@ -0,0 +1,11 @@
--- Completion/BSD/Command/_chflags.orig 2016-09-14 19:06:59 UTC
+++ Completion/BSD/Command/_chflags
@@ -35,7 +35,7 @@ if [[ $OSTYPE = (darwin|dragonfly|freebs
fi
if [[ $OSTYPE = (dragonfly|freebsd)* ]]; then
- addlfags uunlnk 'user undeletable'
+ addflags uunlnk 'user undeletable'
(( EUID )) || addflags sunlnk 'system undeletable'
fi