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