diff --git a/thefuck/rules/sudo.py b/thefuck/rules/sudo.py index 4fa1012..b1566cf 100644 --- a/thefuck/rules/sudo.py +++ b/thefuck/rules/sudo.py @@ -1,6 +1,7 @@ def match(command, settings): return ('permission denied' in command.stderr.lower() or 'EACCES' in command.stderr + or 'error: you cannot perform this operation unless you are root.' in command.stderr or 'pkg: Insufficient privileges' in command.stderr)