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:
@@ -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 ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user