mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-18 12:06:04 +00:00
* macos shutdown sudo fix * Update tests/rules/test_sudo.py * Update thefuck/rules/sudo.py * Update tests/rules/test_sudo.py * Update thefuck/rules/sudo.py Co-authored-by: Pablo Aguiar <scorphus@gmail.com>
This commit is contained in:
parent
d8ddf5a2be
commit
16eb823066
@ -10,6 +10,8 @@ from thefuck.types import Command
|
||||
'requested operation requires superuser privilege',
|
||||
'need to be root',
|
||||
'need root',
|
||||
'shutdown: NOT super-user',
|
||||
'Error: This command has to be run with superuser privileges (under the root user on most systems).',
|
||||
'must be root',
|
||||
'You don\'t have access to the history DB.',
|
||||
"error: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/ipaddr.py'"])
|
||||
|
@ -4,6 +4,8 @@ patterns = ['permission denied',
|
||||
'you cannot perform this operation unless you are root',
|
||||
'non-root users cannot',
|
||||
'operation not permitted',
|
||||
'not super-user',
|
||||
'superuser privilege',
|
||||
'root privilege',
|
||||
'this command has to be run under the root user.',
|
||||
'this operation requires root.',
|
||||
|
Loading…
x
Reference in New Issue
Block a user