mirror of
https://github.com/nvbn/thefuck.git
synced 2025-10-09 13:23:59 +01: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:
@@ -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):
|
||||
|
Reference in New Issue
Block a user