mirror of
https://github.com/mag37/dockcheck.git
synced 2026-02-14 23:38:15 +01:00
quickfix
Fixed that (sometimes) calling old `docker-compose` binary returned error. Thanks [xoseperez](https://github.com/xoseperez) for pointing out.
This commit is contained in:
parent
67fe04cb64
commit
a4f58c317a
1 changed files with 1 additions and 1 deletions
|
|
@ -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."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue