armbianmonitor: fix error message at the end of every report (#9325)

This commit is contained in:
Werner 2026-02-01 12:28:20 +01:00 committed by GitHub
parent 4128ef0a83
commit 078dde1916
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -977,7 +977,7 @@ CollectSupportInfo() {
echo -e "\n"
[[ "$(id -u)" -eq "0" ]] && for sysfsnode in /proc/sys/vm/*; do sysctl $(echo ${sysfsnode} | sed 's|/proc/sys/vm/|vm.|'); done
echo -e "\n### interrupts:\n$(cat /proc/interrupts)"
ls /tmp/armbianmonitor_checks_* > /dev/null 2>&1 || return
ls /tmp/armbianmonitor_checks_* > /dev/null 2>&1 || return 0
for file in /tmp/armbianmonitor_checks_*; do
echo -e "\n### \c"
ls "${file}" | cut -f1 -d.