From e57389ec37898a23bac4b475f60f233ddf782ecc Mon Sep 17 00:00:00 2001 From: colin Date: Sat, 20 Jan 2024 21:29:43 +0000 Subject: [PATCH] Update docker/trivy/start.sh --- docker/trivy/start.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker/trivy/start.sh b/docker/trivy/start.sh index ecf18c6..d5fdf1b 100644 --- a/docker/trivy/start.sh +++ b/docker/trivy/start.sh @@ -6,7 +6,11 @@ LOW_PRIORITY=${LOW_PRIORITY:-true} # Use SCANNERS_ENV if provided, otherwise default to vuln, config, secret if [ -n "$SCANNERS_ENV" ]; then - IFS=',' read -r -a SCANNERS <<< "$SCANNERS_ENV" + OLD_IFS="$IFS" + IFS=',' read -r -a SCANNERS <