fix: remove fallback to bare openclaw.mjs after dashboard exits

The `|| openclaw.mjs` fallback ran when dashboard exited with non-zero
(e.g. Ctrl+C), triggering "Control UI assets not found" error message.
This commit is contained in:
dongsheng123132
2026-03-09 18:01:10 +08:00
parent 069e348f6f
commit d35cf65727
2 changed files with 3 additions and 3 deletions

View File

@@ -132,7 +132,7 @@ if [ ! -f "$PORTABLE_CONFIG_PATH" ]; then
echo " 已跳过首次配置。"
fi
else
"$NODE_BIN" openclaw.mjs dashboard || "$NODE_BIN" openclaw.mjs
"$NODE_BIN" openclaw.mjs dashboard
fi
echo ""