Browse Source

Fix on removing error message on 'exec' error

Signed-off-by: Ulysses Souza <[email protected]>
Ulysses Souza 4 years ago
parent
commit
5ec8af582c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compose/cli/main.py

+ 1 - 1
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: