From 919ff971b4c2088f5ce6434720365be8a23813be Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Wed, 26 Feb 2025 12:36:58 +0100 Subject: [PATCH] Also report container --- templates/application/scan_external_mounts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/application/scan_external_mounts.sh b/templates/application/scan_external_mounts.sh index ef58cd8..38e2ed1 100644 --- a/templates/application/scan_external_mounts.sh +++ b/templates/application/scan_external_mounts.sh @@ -12,7 +12,7 @@ if [[ $(pgrep -f "${0}" | wc -l) -eq 2 ]]; then nocc "${container}" files_external:scan "${id}" | grep Error # shellcheck disable=SC2181 if [[ ${?} -eq 0 ]]; then - error_ids="${error_ids} ${id}" + error_ids="${error_ids} ${container}: ${id}" fi done done