From 95c3ec548fd4c7263c979fa08c23feb5845f7e7b Mon Sep 17 00:00:00 2001 From: Tortue Torche Date: Sun, 11 Aug 2019 02:48:11 -0400 Subject: [PATCH] Echo OK after linting only if current action is "lint" --- psu | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/psu b/psu index 19b3206..f8a5e43 100644 --- a/psu +++ b/psu @@ -1276,7 +1276,9 @@ lint() { rm -f docker_stack_validation_report exit 1 else - echo "[OK]" + if [ "$ACTION" == "lint" ]; then + echo "[OK]" + fi echo_verbose "The '$DOCKER_COMPOSE_FILE' Docker compose/stack file is valid" fi else