From 5ec8af582c4ea84e10960f888cf51973446d9185 Mon Sep 17 00:00:00 2001 From: Ulysses Souza Date: Wed, 17 Mar 2021 17:49:15 -0300 Subject: [PATCH] Fix on removing error message on 'exec' error Signed-off-by: Ulysses Souza --- compose/cli/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose/cli/main.py b/compose/cli/main.py index 33c2ba8c9..ea82dd116 100644 --- a/compose/cli/main.py +++ b/compose/cli/main.py @@ -137,7 +137,7 @@ def get_filtered_args(args): def exit_with_metrics(command, log_msg=None, status=Status.SUCCESS, exit_code=1): - if log_msg: + if log_msg and command != 'exec': if not exit_code: log.info(log_msg) else: