add startup finish check

This commit is contained in:
Dmytro authored and GitHub committed 2021-12-13 16:08:07 +02:00
1 parent 71fb844748
commit e882491385
1 file changed
+6
+6
View File
@@ -16,6 +16,12 @@ if grep --quiet "The state engine was in incorrect state ERRORED and forced into
exit 1
fi
if grep --quiet 'Done .+ For help, type "help" or "?"' server.log; then
echo "Server didn't finish startup:"
cat server.log
exit 1
fi
echo "No crash reports detected"
exit 0