From: Sam Saffron Date: Tue, 19 Mar 2019 07:52:23 +0000 (+1100) Subject: DEV: clean up docker detection X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=9eeb324eceb94c1dfbd76d371d5078a9e5a2f6b3;p=discourse_docker.git DEV: clean up docker detection previously we would output stuff to console if docker.io was missing --- diff --git a/launcher b/launcher index ec20826..de92c17 100755 --- a/launcher +++ b/launcher @@ -81,7 +81,7 @@ config_file=containers/"$config".yml cidbootstrap=cids/"$config"_bootstrap.cid local_discourse=local_discourse image=discourse/base:2.0.20190217 -docker_path=`which docker.io || which docker` +docker_path=`which docker.io 2> /dev/null || which docker` git_path=`which git` if [ "${SUPERVISED}" = "true" ]; then