diff --git a/ChangeLog b/ChangeLog index 8ee4921cf..e76df39dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-12-18 Baptiste Daroussin + + * 40209: Completion/BSD/Command/_chflags: Fix typo in chflags + completion + 2016-12-16 Daniel Shahaf * 40149: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: diff --git a/Completion/BSD/Command/_chflags b/Completion/BSD/Command/_chflags index 43042bee4..075782cd9 100644 --- a/Completion/BSD/Command/_chflags +++ b/Completion/BSD/Command/_chflags @@ -35,7 +35,7 @@ if [[ $OSTYPE = (darwin|dragonfly|freebsd|netbsd)* ]]; then fi if [[ $OSTYPE = (dragonfly|freebsd)* ]]; then - addlfags uunlnk 'user undeletable' + addflags uunlnk 'user undeletable' (( EUID )) || addflags sunlnk 'system undeletable' fi