From b55464b2ea46bf16eb964d704e2e2fbae0ab96dc Mon Sep 17 00:00:00 2001 From: nvbn Date: Fri, 13 Nov 2015 15:37:13 +0800 Subject: [PATCH] #403 Add sudo rule's pattern for dscl --- thefuck/rules/sudo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/thefuck/rules/sudo.py b/thefuck/rules/sudo.py index 6c5e8052..121efe74 100644 --- a/thefuck/rules/sudo.py +++ b/thefuck/rules/sudo.py @@ -16,7 +16,8 @@ patterns = ['permission denied', 'need root', 'only root can ', 'You don\'t have access to the history DB.', - 'authentication is required'] + 'authentication is required', + 'eDSPermissionError'] def match(command):