Skip to content

Commit

Permalink
shellcheck ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
ezrizhu committed Mar 8, 2024
1 parent 9165206 commit bf0dfae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/toplevel-perms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,6 @@ sh "$cmd" >"$expected"
# Set up target output
target="$(mktemp)"

# shellcheck disable=SC2024 # sudo won't be used in > $target redirection
sudo "$TRY" "sh $cmd" > "$target" || return 1
diff "$expected" "$target"

0 comments on commit bf0dfae

Please sign in to comment.