Files
p2pool-monero/scripts/workflows/test-sync-check.sh
T
2025-11-25 18:17:33 +01:00

8 lines
217 B
Bash
Executable File

#!/bin/bash
grep 'ERROR ' p2pool.log | grep -E -v 'submit_block|failed to bind|ZMQ is not running|block header for seed|ZMQReader disconnected from' > errors.log
if [ -s errors.log ]; then
cat errors.log
exit 1
fi