color undervoltage warning

This commit is contained in:
Christian Rotzoll 2019-03-17 18:04:56 +01:00
parent 3213464efb
commit ca708c83cd

View File

@ -295,5 +295,5 @@ ${color_yellow}${ln_publicColor}${ln_external}
"${hdd}" "${sync_percentage}"
if [ ${#undervoltageReports} -gt 0 ] && [ "${undervoltageReports}" != "0" ]; then
echo "${undervoltageReports} undervoltage reports found in syslog"
echo "!! ${color_red}${undervoltageReports} undervoltage reports found in syslog !!"
fi