refactor: update fatal message.

This commit is contained in:
liqiang-fit2cloud 2025-07-16 10:50:03 +08:00
parent bc879441d2
commit 526b4081bc

View File

@ -4,8 +4,8 @@ set -e
if [ -f "/opt/maxkb/PG_VERSION" ]; then
# 如果是v1版本一键安装的的目录则退出
echo "The existing data is from v1 and is not compatible with v2, installing v2 over v1 is not supported."
echo "The process will now exit."
echo "FATAL ERROR: Upgrade from v1 to v2 is not supported."
echo "The process will exit."
exit 1
fi