Browse Source

fix: [compose-core] improve safety of a bash construct !minor

cache-relation
Valentin Lab 1 year ago
parent
commit
bafb5e01ee
  1. 2
      bin/compose-core

2
bin/compose-core

@ -383,7 +383,7 @@ docker_has_image() {
err "docker images call has failed unexpectedly." err "docker images call has failed unexpectedly."
return 1 return 1
} }
[ "$images" ]
[ -n "$images" ]
} }
export -f docker_has_image export -f docker_has_image

Loading…
Cancel
Save