rm: add fallback value to response_force

Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
This commit is contained in:
Luca Di Maio
2024-06-20 14:38:31 +02:00
parent b2370e6b22
commit 2bad9f9497
+1 -1
View File
@@ -430,7 +430,7 @@ for container in ${container_name_list}; do
fi
# Accept only y,Y,Yes,yes,n,N,No,no.
case "${response_force}" in
case "${response_force:-"N"}" in
y | Y | Yes | yes | YES)
force=1
force_flag="--force"