„runchecks.yml“ ändern

This commit is contained in:
olli 2022-11-06 11:08:48 +01:00
parent e49c94ef21
commit 854ecce550

View File

@ -192,7 +192,7 @@
ps aufx | grep $dzpid | grep -v grep >${g_tmp}/proc-check-$dzpid.notify
pstree $dzpid >>${g_tmp}/proc-check-$dzpid.notify
cat ${g_tmp}/proc-check/$dzpid >>${g_tmp}/proc-check-$dzpid.notify
egrep -q "usb-storage" ${g_tmp}/proc-check-$dzpid.notify || g_echo_error "$(cat ${g_tmp}/proc-check-$dzpid.notify)"
egrep -q "usb-storage|md[0-9]*_" ${g_tmp}/proc-check-$dzpid.notify || g_echo_error "$(cat ${g_tmp}/proc-check-$dzpid.notify)"
fi
else
date >${g_tmp}/proc-check/$dzpid