mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-18 20:11:17 +00:00
some system might not have the docker: prefix
This commit is contained in:
parent
837935d07e
commit
aa7817937b
@ -5,7 +5,7 @@ from thefuck.specific.sudo import sudo_support
|
||||
|
||||
@for_app("docker")
|
||||
def match(command):
|
||||
return ('docker: Cannot connect to the Docker daemon' in command.output and
|
||||
return ('Cannot connect to the Docker daemon' in command.output and
|
||||
'Is the docker daemon running?' in command.output)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user