From 93d4a4fc3a129fd0c49719d0242bbfbab76e62e3 Mon Sep 17 00:00:00 2001 From: Mouginot B Date: Tue, 2 May 2017 17:36:35 -0500 Subject: [PATCH] fix sudo.py for macport --- 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 0f85168a..70db4f00 100644 --- a/thefuck/rules/sudo.py +++ b/thefuck/rules/sudo.py @@ -21,7 +21,8 @@ patterns = ['permission denied', 'edspermissionerror', 'you don\'t have write permissions', 'use `sudo`', - 'SudoRequiredError'] + 'SudoRequiredError', + 'error: insufficient privileges'] def match(command):