Initial commit
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
def match(command):
|
||||
return 'permission denied' in command.stderr.lower()
|
||||
|
||||
|
||||
def get_new_command(command):
|
||||
return 'sudo {}'.format(command.script)
|
||||
Reference in New Issue
Block a user