mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-28 16:06:08 +00:00
ci: rename report checking script
This commit is contained in:
1 parent
74d9da327a
commit
5e0f711012
1 file changed
Executable
+22
@@ -0,0 +1,22 @@
|
||||
directory="run/crash-reports"
|
||||
if [[ -d $directory ]]; then
|
||||
echo "Crash reports detected:"
|
||||
cat $directory/*
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ grep --quiet "Fatal errors were detected" server.log ]]; then
|
||||
echo "Fatal errors detected:"
|
||||
cat server.log
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ grep --quiet "The state engine was in incorrect state ERRORED and forced into state SERVER_STOPPED" server.log ]]; then
|
||||
echo "Server force stopped:"
|
||||
cat server.log
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "No crash reports detected"
|
||||
exit 0
|
||||
|
||||
Reference in new issue
Block a user