mirror of
https://github.com/isjerryxiao/pacroller.git
synced 2024-11-14 20:32:24 +08:00
filter message caused by stdbuf preload
This commit is contained in:
parent
2fdb21e2cc
commit
7d2d3caee2
1 changed files with 3 additions and 0 deletions
|
@ -227,6 +227,9 @@ def _log_parser(log: List[str], report: checkReport) -> None:
|
|||
line = log[ln]
|
||||
(_, source, msg) = _split_log_line(line)
|
||||
if source == 'ALPM-SCRIPTLET':
|
||||
if msg == r"ERROR: ld.so: object '/usr/lib/coreutils/libstdbuf.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.":
|
||||
logger.debug(f'hook output ignored {hook_name=} {msg=}')
|
||||
continue
|
||||
for r in (*(KNOWN_HOOK_OUTPUT.get('', [])), *(KNOWN_HOOK_OUTPUT.get(hook_name, []))):
|
||||
if match(r, msg):
|
||||
logger.debug(f'hook output match {hook_name=} {msg=} {r=}')
|
||||
|
|
Loading…
Reference in a new issue