From 1af2ae3312493bcc107a1938cb9d0239d484776e Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Mon, 16 Dec 2019 16:18:53 +0100 Subject: [PATCH] fix: ``--no-hooks`` was not fully implemented Signed-off-by: Valentin Lab --- bin/compose-core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/compose-core b/bin/compose-core index d5b8bfb..3ee2bd6 100755 --- a/bin/compose-core +++ b/bin/compose-core @@ -4120,7 +4120,7 @@ esac if [ "$full_init" ]; then ## init in order - if [ -z "$no_init" ]; then + if [[ -z "$no_init" && -z "$no_hooks" ]]; then Section setup host resources setup_host_resources "${services_args[@]}" || exit 1 Section initialisation