$regdomains \
2>&1 >&$DIALOG_TERMINAL_PASSTHRU_FD
)
+ f_dialog_data_sanitize regdomain
f_dialog_title "Country selection"
prompt="Select your country."
$countries \
2>&1 >&$DIALOG_TERMINAL_PASSTHRU_FD
)
+ f_dialog_data_sanitize country
country_set "$regdomain" "$country"
}
$( echo $NETWORKS | tr '\n' ' ' )" \
2>&1 >&$DIALOG_TERMINAL_PASSTHRU_FD
)
- case $? in
+ retval=$?
+ f_dialog_data_sanitize NETWORK
+ case $retval in
$DIALOG_OK) break ;;
$DIALOG_CANCEL)
# here we ask if the user wants to select the network manually