From 0b49495b1d361efa72e3ef35ff000c863966bfe1 Mon Sep 17 00:00:00 2001 From: Matteo Orefice Date: Sun, 10 Feb 2019 14:04:45 +0000 Subject: [PATCH] Prevent bash process substitution error in cygwin Signed-off-by: Matteo Orefice --- contrib/completion/bash/docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/completion/bash/docker b/contrib/completion/bash/docker index b40fc4141da2..970feba6fa16 100644 --- a/contrib/completion/bash/docker +++ b/contrib/completion/bash/docker @@ -593,7 +593,7 @@ __docker_append_to_completions() { # The result is cached for the duration of one invocation of bash completion. __docker_fetch_info() { if [ -z "$info_fetched" ] ; then - read -r client_experimental server_experimental server_os < <(__docker_q version -f '{{.Client.Experimental}} {{.Server.Experimental}} {{.Server.Os}}') + read -r client_experimental server_experimental server_os <<< "$(__docker_q version -f '{{.Client.Experimental}} {{.Server.Experimental}} {{.Server.Os}}')" info_fetched=true fi }