summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xlib/container/remove6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/container/remove b/lib/container/remove
index b1f4623..081df33 100755
--- a/lib/container/remove
+++ b/lib/container/remove
@@ -97,11 +97,13 @@ case "${FORCE}" in
;;
*)
- echo -n "'${NAME}': remove container '${NAME}'? "
+ echo -n "'${NAME}': remove container '${NAME}' [y|N]? "
read FORCE
+ FORCE="$(echo ${FORCE} | tr [A-Z] [a-z])"
+
case "${FORCE}" in
- y|Y)
+ y|yes)
;;
*)