From bafb5e01eed9c11cb83dde0e4861c8b0cd885f92 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Tue, 3 Oct 2023 22:49:08 +0200 Subject: [PATCH] fix: [compose-core] improve safety of a bash construct !minor --- bin/compose-core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/compose-core b/bin/compose-core index 6e988f8..726f067 100755 --- a/bin/compose-core +++ b/bin/compose-core @@ -383,7 +383,7 @@ docker_has_image() { err "docker images call has failed unexpectedly." return 1 } - [ "$images" ] + [ -n "$images" ] } export -f docker_has_image