Fix: Missed array expansion in ClamAV scanning message

ISSUE: Line 1759 still used ${SCAN_PATHS[@]} in echo context.

FIX: Changed to ${SCAN_PATHS[*]} for proper array expansion in echo.

This completes the array expansion fixes from earlier commits
(lines 1664, 1759, 1871 now all use [*] for echo context).

NOTE: Command context (line 1765 in clamscan call) still correctly
uses [@] with quotes which is appropriate for command arguments.
This commit is contained in:
Developer
2026-04-21 21:18:17 -04:00
parent c5239bd939
commit cc89b2ffed
+1 -1
View File
@@ -1756,7 +1756,7 @@ for scanner in "${available_scanners[@]}"; do
log_message "ClamAV: Starting scan with activity monitoring"
echo ""
echo " 📁 Scanning path(s): ${SCAN_PATHS[@]}"
echo " 📁 Scanning path(s): ${SCAN_PATHS[*]}"
echo " ⏳ Scanner: ClamAV (comprehensive virus scan...)"
echo ""