From 1c559e483b05f603d55ef74628bba862fa79154d Mon Sep 17 00:00:00 2001 From: amir-climy Date: Thu, 21 May 2026 09:15:58 +0800 Subject: [PATCH] fix(uninstall): remove interactive confirmation that breaks curl-pipe installs --purge-data is already an explicit opt-in; the read prompt causes 'error: aborted' when stdin has no TTY (curl | sudo bash). Co-Authored-By: Claude Sonnet 4.6 --- manage-server/uninstall.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/manage-server/uninstall.sh b/manage-server/uninstall.sh index 52d87af..b46c100 100755 --- a/manage-server/uninstall.sh +++ b/manage-server/uninstall.sh @@ -42,8 +42,6 @@ fi if [[ $PURGE -eq 1 ]]; then info "DESTRUCTIVE: removing manage server volumes..." info " this deletes: scan history, hosts, users, worker binaries" - read -r -p " Are you sure? Type 'yes' to confirm: " CONFIRM - [[ "$CONFIRM" == "yes" ]] || die "aborted" for vol in triton-manage-db-data triton-manage-bins; do podman volume rm -f "$vol" 2>/dev/null \ || docker volume rm -f "$vol" 2>/dev/null \