Fixed that (sometimes) calling old `docker-compose` binary returned error.
Thanks [xoseperez](https://github.com/xoseperez) for pointing out.
This commit is contained in:
mag37
2023-02-02 10:12:05 +01:00
committed by GitHub
parent 67fe04cb64
commit a4f58c317a

View File

@ -50,7 +50,7 @@ fi
### Check docker compose binary:
if docker compose &> /dev/null ; then
DockerBin="docker compose"
elif docker-compose &> /dev/null; then
elif docker-compose -v &> /dev/null; then
DockerBin="docker-compose"
else
printf "%s\n" "No docker compose binary available, quitting."