Skip to content

Commit 9cafdae

Browse files
committed
armbianmonitor: fix error message at the end of every report
1 parent 4128ef0 commit 9cafdae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/bsp/common/usr/bin/armbianmonitor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,7 @@ CollectSupportInfo() {
977977
echo -e "\n"
978978
[[ "$(id -u)" -eq "0" ]] && for sysfsnode in /proc/sys/vm/*; do sysctl $(echo ${sysfsnode} | sed 's|/proc/sys/vm/|vm.|'); done
979979
echo -e "\n### interrupts:\n$(cat /proc/interrupts)"
980-
ls /tmp/armbianmonitor_checks_* > /dev/null 2>&1 || return
980+
ls /tmp/armbianmonitor_checks_* > /dev/null 2>&1 || return 0
981981
for file in /tmp/armbianmonitor_checks_*; do
982982
echo -e "\n### \c"
983983
ls "${file}" | cut -f1 -d.

0 commit comments

Comments
 (0)