From d0a8ea25a75b0986fc828457072a6a1507c78c90 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sun, 18 Dec 2016 13:14:45 +0100 Subject: [PATCH] Fix typo in chflags completion --- Completion/BSD/Command/_chflags | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0