select-de.sh: fix -s <DE>

This commit is contained in:
Dmitry Maksyoma 2021-09-09 20:22:41 +12:00
parent 4ed2c57ce3
commit 64c190e2bb

View File

@ -33,7 +33,7 @@ process_cli_options() {
;;
-s|--select-de)
action=select-de
if [[ -n "$1" && "${1:1}" != "-" ]]; then
if [[ -n "$1" && "${1:0:1}" != "-" ]]; then
selected_de="$1"
assume_yes=1
if [ "$selected_de" = "manual" ]; then