From 0d577ffa83ed7d410d2577c7d72995cf88c974f5 Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Sun, 19 Apr 2015 11:57:01 +0800 Subject: [PATCH] sudo rule: add support for mtr --- 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 36ec9631..bc72f140 100644 --- a/thefuck/rules/sudo.py +++ b/thefuck/rules/sudo.py @@ -1,7 +1,8 @@ patterns = ['permission denied', 'EACCES', 'pkg: Insufficient privileges', - 'you cannot perform this operation unless you are root'] + 'you cannot perform this operation unless you are root', + 'non-root users cannot'] def match(command, settings):