#682: Unify work with output in classic and instant mode
This commit is contained in:
@@ -6,7 +6,7 @@ from thefuck.specific.sudo import sudo_support
|
||||
|
||||
@sudo_support
|
||||
def match(command):
|
||||
return ('command not found' in command.stderr.lower()
|
||||
return ('command not found' in command.output.lower()
|
||||
and u' ' in command.script)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user