Files
Postea/.github/scripts/test-no-crash-reports.sh
T
2021-11-21 21:01:07 +02:00

10 lines
170 B
Bash

directory="run/crash-reports"
if [ -d $directory ]; then
echo "Crash reports detected:"
cat $directory/*
exit 1
else
echo "No crash reports detected"
exit 0
fi