diff --git a/thefuck/rules/sudo.py b/thefuck/rules/sudo.py index 4723de0b..a2980216 100644 --- a/thefuck/rules/sudo.py +++ b/thefuck/rules/sudo.py @@ -21,7 +21,7 @@ patterns = ['permission denied', 'edspermissionerror', 'you don\'t have write permissions', 'use `sudo`', - 'SudoRequiredError', + 'sudorequirederror', 'error: insufficient privileges']