Skip to content

Commit 30c3032

Browse files
committed
debug condition
Signed-off-by: Julio Jimenez <[email protected]>
1 parent 73d39d2 commit 30c3032

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

entrypoint.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ NC='\033[0m' # No Color
1818

1919
# Logging functions
2020
log_debug() {
21-
echo -e "${ORANGE}[DEBUG]${NC} $1"
21+
if [[ "${DEBUG:-false}" == "true" ]]; then
22+
echo -e "${ORANGE}[DEBUG]${NC} $1"
23+
fi
2224
}
2325

2426
log_info() {

0 commit comments

Comments
 (0)