From 5f9ea458446124ee41f9c901f905c4189c24f219 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Thu, 16 Jan 2025 19:23:06 +0100 Subject: [PATCH] fix: catch warnings and errors --- upgrade/upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upgrade/upgrade.sh b/upgrade/upgrade.sh index b4cab9c..377399d 100755 --- a/upgrade/upgrade.sh +++ b/upgrade/upgrade.sh @@ -56,7 +56,7 @@ function migration_assert() { local logfile=$work_path/log/forgejo.log grep --quiet 'ORM engine initialization successful' $logfile - if grep --fixed-strings 'serveInstalled() [W] Table' $logfile; then + if grep 'serveInstalled() \[[EW]\] Table' $logfile; then echo "unexpected warnings in database migration" return 1 fi