mirror of
https://github.com/nvbn/thefuck.git
synced 2025-10-08 12:53:58 +01:00
add rule for shutdown command
This commit is contained in:
@@ -8,7 +8,8 @@ patterns = ['permission denied',
|
|||||||
'This command has to be run under the root user.',
|
'This command has to be run under the root user.',
|
||||||
'This operation requires root.',
|
'This operation requires root.',
|
||||||
'You need to be root to perform this command.',
|
'You need to be root to perform this command.',
|
||||||
'requested operation requires superuser privilege']
|
'requested operation requires superuser privilege',
|
||||||
|
'Need to be root']
|
||||||
|
|
||||||
|
|
||||||
def match(command, settings):
|
def match(command, settings):
|
||||||
|
Reference in New Issue
Block a user