diff --git a/thefuck/rules/sudo.py b/thefuck/rules/sudo.py index 97b7a5e0..1f7cea53 100644 --- a/thefuck/rules/sudo.py +++ b/thefuck/rules/sudo.py @@ -13,7 +13,7 @@ patterns = ['permission denied', 'must be root', 'need to be root', 'need root', - 'only root can do that', + 'only root can ', 'You don\'t have access to the history DB.', 'authentication is required']