mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-31 10:11:14 +00:00
sudo rule: add support for "Operation not permitted" errors
This commit is contained in:
parent
62bbb7021a
commit
a2c086ed73
@ -2,7 +2,8 @@ patterns = ['permission denied',
|
|||||||
'EACCES',
|
'EACCES',
|
||||||
'pkg: Insufficient privileges',
|
'pkg: Insufficient privileges',
|
||||||
'you cannot perform this operation unless you are root',
|
'you cannot perform this operation unless you are root',
|
||||||
'non-root users cannot']
|
'non-root users cannot',
|
||||||
|
'Operation not permitted']
|
||||||
|
|
||||||
|
|
||||||
def match(command, settings):
|
def match(command, settings):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user