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 --- Completion/BSD/Command/_chflags | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/BSD/Command') 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