mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-10-25 20:22:26 +00:00
10 lines
170 B
Bash
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
|