[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #29072 [Core Tor/Tor]: shellcheck: check-tor issues



#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@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs