From de4b774134ed671451a6b44c5d8628a227bf25c4 Mon Sep 17 00:00:00 2001 From: Dugucloud Date: Tue, 21 Apr 2015 19:43:10 +0800 Subject: [PATCH] Added a string which could be thrown by Fedora's new dnf package manager. --- 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..476ae212 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', + 'This command has to be run under the root user.'] def match(command, settings):