Browse Source

Remove quotes

Bob Mottram 7 years ago
parent
commit
9801333767
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/freedombone-tests

+ 2
- 1
src/freedombone-tests View File

141
     unique_ports=$(grep -r "_ONION_PORT=" $FILES | awk -F ':' '{print $2}' | uniq | awk -F '=' '{print $2}' | uniq)
141
     unique_ports=$(grep -r "_ONION_PORT=" $FILES | awk -F ':' '{print $2}' | uniq | awk -F '=' '{print $2}' | uniq)
142
     if [[ "$ports" != "$unique_ports" ]]; then
142
     if [[ "$ports" != "$unique_ports" ]]; then
143
         echo $'Some onion ports are clashing'
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
         exit 637252
146
         exit 637252
146
     fi
147
     fi
147
 }
148
 }