Files
p2pool-salvium/scripts/workflows/test-sync-check.sh
2025-10-13 06:46:19 +02:00

8 lines
189 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' > errors.log
if [ -s errors.log ]; then
cat errors.log
exit 1
fi