From 79fb7c987cb589fb6fa296121f9ea392feb4752d Mon Sep 17 00:00:00 2001 From: Dugucloud Date: Wed, 22 Apr 2015 09:26:45 +0800 Subject: [PATCH] Added sudo rule for Fedora yum's output. --- 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 39604acc..2c985796 100644 --- a/thefuck/rules/sudo.py +++ b/thefuck/rules/sudo.py @@ -5,7 +5,8 @@ patterns = ['permission denied', 'non-root users cannot', 'Operation not permitted', 'root privilege', - 'This command has to be run under the root user.'] + 'This command has to be run under the root user.', + 'You need to be root to perform this command.'] def match(command, settings):