mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-18 20:11:17 +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:
parent
fbf7b91005
commit
12f8d017b9
@ -13,7 +13,8 @@ patterns = ['permission denied',
|
||||
'must be root',
|
||||
'need to be root',
|
||||
'need root',
|
||||
'only root can do that']
|
||||
'only root can do that',
|
||||
'authentication is required']
|
||||
|
||||
|
||||
def match(command, settings):
|
||||
|
Loading…
x
Reference in New Issue
Block a user