summaryrefslogtreecommitdiff
path: root/dactyl.sh
diff options
context:
space:
mode:
authorRobert Reed <robert.mc.reed@gmail.com>2021-08-22 17:26:59 -0700
committerRobert Reed <robert.mc.reed@gmail.com>2021-08-22 17:26:59 -0700
commitf0cc5f2df7f169f9634d2704d3a5fd704fb4c0e8 (patch)
tree3d3ba7baceed7aaec047769d137e9d3ecb496c73 /dactyl.sh
parente45f1cff76ae5b6000c4efd35d6dc759359c4b3f (diff)
feat: prompt before uninstall
Diffstat (limited to 'dactyl.sh')
-rwxr-xr-xdactyl.sh2
1 files changed, 2 insertions, 0 deletions
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