diff --git a/bin/journal-checker b/bin/journal-checker index aeebedf2aa20a040da318161ad6a9938d489d32f..578973128a68ced2d41a029f69e0e58ac45a3fe2 100755 --- a/bin/journal-checker +++ b/bin/journal-checker @@ -11,9 +11,11 @@ else SINCE="--since=$(head -n1 $STAMPFILE)" fi +# just ignore cretain error messages filter() { - grep -v 'systemd-tmpfiles.*: Detected autofs mount point /home during canonicalization of /home.$' | \ - grep -v 'systemd-xdg-autostart-generator' + grep -v 'systemd-tmpfiles\[[0-9]*\]: Detected autofs mount point /home during canonicalization of /home.$' | \ + grep -v 'systemd-xdg-autostart-generator\[[0-9]*\]:' | \ + grep -v 'dhcpd\[[0-9]*\]: uid lease [0-9.]* for client [0-9a-f:]* is duplicate on [0-9.]*/[0-9]*$' } NOW=$(date +"%Y-%m-%d %H:%M")