fix: 修复脚本的一些参数问题

This commit is contained in:
shaw
2025-12-18 17:25:26 +08:00
parent e440530acc
commit ef3199f0ca
3 changed files with 3 additions and 3 deletions

View File

@@ -683,7 +683,7 @@ uninstall() {
# If not interactive (piped), require -y flag or skip confirmation
if ! is_interactive; then
if [ "${FORCE_YES:-}" != "true" ]; then
print_error "Non-interactive mode detected. Use 'bash -s -- uninstall -y' to confirm."
print_error "Non-interactive mode detected. Use 'curl ... | bash -s -- uninstall -y' to confirm."
exit 1
fi
else