missing delim

This commit is contained in:
jc
2025-02-12 09:16:58 +00:00
parent ba0ab1e68b
commit d8089ab487
+1 -1
View File
@@ -166,7 +166,7 @@ cidr_to_ips() {
wait
# read
[[ -f /tmp/ips ]] && ips=($(sort -t. -n +3 /tmp/ips)) || { cg_color bby "Either dead hosts in this subnet or ping is disabled :("; exit; }
[[ -f /tmp/ips ]] && ips=($(sort -t. -n -k +3 /tmp/ips)) || { cg_color bby "Either dead hosts in this subnet or ping is disabled :("; exit; }
[[ $HOST_SCAN == true ]] && { out=${ips[*]}; l="\n"; echo -n "Number of live hosts: "; cg_color bbb ${#ips[@]}; echo -e "\e[1;92m${out//${IFS:0:1}/$l}\e[0m"; exit; }
}