Skip to content

Commit

Permalink
fix again 250 hide
Browse files Browse the repository at this point in the history
  • Loading branch information
nyxnor committed Feb 20, 2022
1 parent 6744c0a commit b4e996d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/bin/tor-ctrl-stream
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ list_streams(){
trap "exit" INT QUIT TERM
trap "rm -f stream.hosts stream.tmp stream.loop; kill 0" EXIT

for stream_ordered in $(printf '%s\n' "${listen_stream}" | grep "^650 STREAM" | cut -d " " -f3 | sort -u | grep -v -E "^$|^250" ); do
for stream_ordered in $(printf '%s\n' "${listen_stream}" | grep "^650 STREAM" | cut -d " " -f3 | sort -u | grep -v "^$" | grep -v "^250" ); do
printf '%s\n' "${listen_stream}" | grep "^650 STREAM ${stream_ordered}" | while IFS="$(printf '\n')" read -r stream_line; do
IFS=" " read -r _ _ stream_id stream_status circuit_id stream_target _ <<-EOF
$(printf '%s\n' "${stream_line}")
Expand Down

0 comments on commit b4e996d

Please sign in to comment.