From 3af5c80d293c579591b58f63a5b01574f76991c9 Mon Sep 17 00:00:00 2001 From: Soheil Rashidi Date: Tue, 21 Apr 2015 12:57:35 +0430 Subject: [PATCH] Add 'root privilege' pattern to sudo rule. --- 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 e1a18359..d6ad091d 100644 --- a/thefuck/rules/sudo.py +++ b/thefuck/rules/sudo.py @@ -3,7 +3,8 @@ patterns = ['permission denied', 'pkg: Insufficient privileges', 'you cannot perform this operation unless you are root', 'non-root users cannot', - 'Operation not permitted'] + 'Operation not permitted', + 'root privilege'] def match(command, settings):