Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Di Maio <[email protected]>
  • Loading branch information
89luca89 committed Jun 20, 2024
1 parent 3959506 commit b2370e6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions distrobox-rm
Original file line number Diff line number Diff line change
Expand Up @@ -436,16 +436,15 @@ 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"
;;
esac
done


# Accept only y,Y,Yes,yes,n,N,No,no.
case "${response}" in
y | Y | Yes | yes | YES)
Expand Down

0 comments on commit b2370e6

Please sign in to comment.