select-de.sh: fix -s

This commit is contained in:
Dmitry Maksyoma 2021-09-09 00:21:25 +12:00
parent 69a9ba66cd
commit 003958dd9f

View File

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