|
@@ -141,7 +141,8 @@ function test_unique_onion_ports {
|
141
|
141
|
unique_ports=$(grep -r "_ONION_PORT=" $FILES | awk -F ':' '{print $2}' | uniq | awk -F '=' '{print $2}' | uniq)
|
142
|
142
|
if [[ "$ports" != "$unique_ports" ]]; then
|
143
|
143
|
echo $'Some onion ports are clashing'
|
144
|
|
- grep -r "_ONION_PORT=" "$FILES" | awk -F ':' '{print $2}' | uniq
|
|
144
|
+ # shellcheck disable=SC2086
|
|
145
|
+ grep -r "_ONION_PORT=" $FILES | awk -F ':' '{print $2}' | uniq
|
145
|
146
|
exit 637252
|
146
|
147
|
fi
|
147
|
148
|
}
|