1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-02-21 20:38:54 +00:00

Merge pull request #148 from danybony/patch-1

Add more patterns to sudo.py
This commit is contained in:
Vladimir Iakovlev 2015-04-30 19:50:59 +02:00
commit 50ab7429d9

View File

@ -8,7 +8,9 @@ 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',
'must be run as root',
'must be superuser']
def match(command, settings): def match(command, settings):