armbianmonitor: fix error message at the end of every report (#9325)
This commit is contained in:
parent
4128ef0a83
commit
078dde1916
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user