Skip to content

Commit

Permalink
v9.9
Browse files Browse the repository at this point in the history
- DietPi-Software | frp: Use default server address if ESC is accidentally hit to abort input
  • Loading branch information
MichaIng committed Dec 1, 2024
1 parent b675711 commit f49ae34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -6649,7 +6649,7 @@ _EOF_
G_WHIP_INPUTBOX_REGEX='^[0-9.:]+$'
G_WHIP_INPUTBOX_REGEX_TEXT='be a valid IP address, optionally with appended network port number, like "192.168.1.100:7000"'
G_WHIP_INPUTBOX 'Please enter the IP address of your frp server, optionally including port (default 7000):'
server_addr=${G_WHIP_RETURNED_VALUE%:*}
[[ $G_WHIP_RETURNED_VALUE ]] && server_addr=${G_WHIP_RETURNED_VALUE%:*}
[[ $G_WHIP_RETURNED_VALUE =~ : ]] && server_port=${G_WHIP_RETURNED_VALUE##*:}

G_WHIP_NOCANCEL=1
Expand Down

0 comments on commit f49ae34

Please sign in to comment.