From b2370e6b22888a5fce41ac9638dbe36d4d51f8ad Mon Sep 17 00:00:00 2001 From: Luca Di Maio Date: Thu, 20 Jun 2024 12:36:21 +0200 Subject: [PATCH] fix linting Signed-off-by: Luca Di Maio --- distrobox-rm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/distrobox-rm b/distrobox-rm index c110db7845..4c429b46aa 100755 --- a/distrobox-rm +++ b/distrobox-rm @@ -436,8 +436,8 @@ for container in ${container_name_list}; do force_flag="--force" break ;; - n | N | No | no | NO) - ;; + n | N | No | no | NO) ;; + *) # Default case: If no more options then break out of the loop. printf >&2 "Invalid input.\n" printf >&2 "The available choices are: y,Y,Yes,yes,YES or n,N,No,no,NO.\nExiting.\n" @@ -445,7 +445,6 @@ for container in ${container_name_list}; do esac done - # Accept only y,Y,Yes,yes,n,N,No,no. case "${response}" in y | Y | Yes | yes | YES)