fix: potential risks of forced withdrawal midway

This commit is contained in:
Sofia
2026-01-09 06:41:40 +08:00
committed by GitHub
parent f150d14f80
commit b428d4c786

View File

@@ -109,8 +109,8 @@ ckstatus() { #脚本启动前检查
echo "-----------------------------------------------"
#检查新手引导
if [ -z "$userguide" ]; then
setconfig userguide 1
. "$CRASHDIR"/menus/userguide.sh && userguide
setconfig userguide 1
fi
#检查执行权限
[ ! -x "$CRASHDIR"/start.sh ] && chmod +x "$CRASHDIR"/start.sh