Files
ForestryMC/.github/scripts/test-no-crash-reports.sh
T

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