brintos

brintos / llvm-project-archived public Read only

0
0
Text · 202 B · 8939ca7 Raw
7 lines · bash
1#!/bin/sh2for I in {1..3}; do \3  log show --debug --last $((SECONDS + 30))s --predicate "processID == $1" --style syslog > $2; \4  if grep -q "use-after-poison" $2; then break; fi; \5  sleep 5; \6done7