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

added support for FreeBSD/PCBSD 'pkg' to sudo rule

This commit is contained in:
tpltnt 2015-04-18 08:45:48 +02:00
parent bc4dc011e4
commit 14f0817a99

View File

@ -1,6 +1,7 @@
def match(command, settings):
return ('permission denied' in command.stderr.lower()
or 'EACCES' in command.stderr)
or 'EACCES' in command.stderr
or 'pkg: Insufficient privileges' in command.stderr)
def get_new_command(command, settings):