diff --git a/builder/startup/deb/select-de.sh b/builder/startup/deb/select-de.sh index 358c772..0e021e6 100755 --- a/builder/startup/deb/select-de.sh +++ b/builder/startup/deb/select-de.sh @@ -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