Files
Postea/.github/scripts/test-no-crash-reports.sh
T
2021-12-11 18:07:49 -06:00

10 lines
170 B
Bash
Executable File

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