From 7363284353213010cb5c25bedd3badbbf4c50b18 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Fri, 28 Feb 2025 12:16:57 +0100 Subject: [PATCH] Missed one path --- 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 e9b52f3..54e2f47 100644 --- a/templates/application/scan_external_mounts.sh +++ b/templates/application/scan_external_mounts.sh @@ -11,7 +11,7 @@ if [[ $(pgrep -a -f "${0}" | grep -v scriptherder | wc -l) -eq 2 ]]; then errors='' for container in $(/usr/local/bin/get_containers); do error_ids="${error_ids} ${container}: " - for id in $(nocc "${container}" files_external:list --all --output json | jq '.[].mount_id' | jq .); do + for id in $(/usr/local/bin/nocc "${container}" files_external:list --all --output json | jq '.[].mount_id' | jq .); do /usr/local/bin/nocc "${container}" files_external:scan "${id}" | grep Error # shellcheck disable=SC2181 if [[ ${?} -eq 0 ]]; then