Skip to content

Commit

Permalink
Add explanation of shellcheck warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ckotte committed Jun 28, 2022
1 parent c8f948f commit 6b1896b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nmtrust
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ check_connection() {
local connection_excluded=false
mapfile -t excludes < <(grep -v '^#' < $EXCLUDEFILE)
for exclude in "${excludes[@]}"; do
# NOTE: Cannot quote right-hand site of == because glob matching is needed [shellcheck(SC2053)]
if [[ "$name" == $exclude ]]; then
connection_excluded=true
break
Expand Down

0 comments on commit 6b1896b

Please sign in to comment.