#29072: shellcheck: check-tor issues ------------------------------+---------------------------- Reporter: rl1987 | Owner: (none) Type: defect | Status: new Priority: Medium | Milestone: Component: Core Tor/Tor | Version: Severity: Normal | Keywords: technical-debt Actual Points: | Parent ID: Points: | Reviewer: Sponsor: | ------------------------------+---------------------------- {{{
In check-tor line 36: echo ">>" wget --proxy=off -O - http://$ipop/tor/ ^-- SC2086: Double quote to prevent globbing and word splitting. In check-tor line 37: timeout 5 wget --proxy=off -O - http://$ipop/tor/ | head -n3 ^-- SC2086: Double quote to prevent globbing and word splitting. In check-tor line 41: echo -n "$router "; echo "$lines" | grep 'fingerprint' | sed -e 's/^opt //' -e 's/^fingerprint //'; ^-- SC2039: In POSIX sh, echo flags are undefined. }}} -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29072> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online
_______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs