mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-22 21:19:39 +00:00
ci: fix script syntax
This commit is contained in:
1 parent
4df1f2f3d5
commit
027521c6d2
1 file changed
+2
-2
@@ -4,13 +4,13 @@ if [[ -d "run/crash-reports" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ grep --quiet "Fatal errors were detected" server.log ]]; then
|
||||
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
|
||||
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
|
||||
|
||||
Reference in new issue
Block a user