mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-20 20:09:07 +00:00
Add more patterns to sudo.py
These patterns cover commands like `reboot` or `dpkg-reconfigure something`
This commit is contained in:
parent
b4cbcd7a99
commit
be9446635b
@ -8,7 +8,9 @@ patterns = ['permission denied',
|
||||
'This command has to be run under the root user.',
|
||||
'This operation requires root.',
|
||||
'You need to be root to perform this command.',
|
||||
'requested operation requires superuser privilege']
|
||||
'requested operation requires superuser privilege',
|
||||
'must be run as root',
|
||||
'must be superuser']
|
||||
|
||||
|
||||
def match(command, settings):
|
||||
|
Loading…
x
Reference in New Issue
Block a user