From f0cc5f2df7f169f9634d2704d3a5fd704fb4c0e8 Mon Sep 17 00:00:00 2001 From: Robert Reed Date: Sun, 22 Aug 2021 17:26:59 -0700 Subject: feat: prompt before uninstall --- dactyl.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dactyl.sh') diff --git a/dactyl.sh b/dactyl.sh index c0bc41e..1cad28f 100755 --- a/dactyl.sh +++ b/dactyl.sh @@ -561,6 +561,8 @@ function promptStartShellSession() { ################################ function handleUninstall() { + warn "This will remove all containers and images." + confirmContinue "Are you sure you want to continue?" for currentContainer in "${containers[@]}"; do container="$currentContainer" removeContainer -- cgit v1.2.3