1
0
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:
Tin Lai 2020-06-13 13:48:15 +10:00
parent 837935d07e
commit aa7817937b

View File

@ -5,7 +5,7 @@ from thefuck.specific.sudo import sudo_support
@for_app("docker") @for_app("docker")
def match(command): 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) 'Is the docker daemon running?' in command.output)