From 48c6192617d3955d4f42ae1373f83b572307ee83 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Mon, 29 Aug 2022 10:38:04 +0100 Subject: [PATCH] reintroduce ability to set verbose output Signed-off-by: Adam Warner --- src/scripts/start.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/scripts/start.sh b/src/scripts/start.sh index 6007c27..79b4034 100755 --- a/src/scripts/start.sh +++ b/src/scripts/start.sh @@ -1,5 +1,9 @@ #!/bin/bash -e +if [ "${PH_VERBOSE:-0}" -gt 0 ] ; then + set -x ; +fi + # The below functions are all contained in bash_functions.sh # shellcheck source=/dev/null . /bash_functions.sh