From 8ae20a8589d7253a710c3669fac51bd436b0ddc3 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sun, 18 Dec 2016 13:14:45 +0100 Subject: 40209: Fix typo in chflags completion --- ChangeLog | 5 +++++ Completion/BSD/Command/_chflags | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- cgit 1.4.1