1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-01-19 04:21:14 +00:00

Add systemd's kind of error for the sudo rule

A complete error would be:

```
% systemctl daemon-reload
==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon ===
Authentication is required to reload the systemd state.
Authenticating as: martin
Password:
```
This commit is contained in:
mcarton 2015-07-09 17:24:45 +02:00
parent fbf7b91005
commit 12f8d017b9

View File

@ -13,7 +13,8 @@ patterns = ['permission denied',
'must be root', 'must be root',
'need to be root', 'need to be root',
'need root', 'need root',
'only root can do that'] 'only root can do that',
'authentication is required']
def match(command, settings): def match(command, settings):