Skip to content

Commit 76b81a3

Browse files
committed
improved interactive setup console messages
1 parent 071be7e commit 76b81a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/geoip-shell-lib-setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ pick_lan_ips() {
205205
ipset_type="net"
206206
printf '\n%s\n' "Autodetected $family LAN subnets: '$blue$u_ips$n_c'."
207207
[ "$autodetect" ] && { confirm_ips; continue; }
208-
printf '\n%s\n%s\n\n' "[c]onfirm, c[h]ange, [s]kip or [a]bort installation?" \
208+
printf '%s\n%s\n' "[c]onfirm, c[h]ange, [s]kip or [a]bort installation?" \
209209
"Verify that correct LAN subnets have been detected in order to avoid accidental lockout or other problems."
210210
pick_opt "c|h|s|a"
211211
case "$REPLY" in
@@ -235,7 +235,7 @@ pick_lan_ips() {
235235
done
236236

237237
[ "$autodetect" ] || [ "$autodetect_off" ] && return
238-
printf '\n%s\n' "[A]uto-detect LAN subnets when updating ip lists or keep this config [c]onstant?"
238+
printf '\n%s\n' "${blue}[A]uto-detect LAN subnets when updating ip lists or keep this config [c]onstant?$n_c"
239239
pick_opt "a|c"
240240
case "$REPLY" in a|A) autodetect="1"; esac
241241
}

0 commit comments

Comments
 (0)