1
0
mirror of https://github.com/nvbn/thefuck.git synced 2024-10-06 10:51:11 +01:00

new pattern in sudo rule

`pacman-key --refresh-keys` outputs the following when not run as root

```
==> ERROR: pacman-key needs to be run as root for this operation.
```
This commit is contained in:
Aurélien Ooms 2016-01-24 14:38:13 +01:00
parent 52ef1fa47d
commit 2ce1c6bf90

View File

@ -14,6 +14,7 @@ patterns = ['permission denied',
'must be root', 'must be root',
'need to be root', 'need to be root',
'need root', 'need root',
'needs to be run as root',
'only root can ', 'only root can ',
'You don\'t have access to the history DB.', 'You don\'t have access to the history DB.',
'authentication is required', 'authentication is required',