[tor-bugs] #30076 [Core Tor/Tor]: shellcheck: contrib/dist/suse/tor.sh.in issues

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Apr 8 07:56:53 UTC 2019


#30076: shellcheck: contrib/dist/suse/tor.sh.in issues
------------------------------+--------------------
     Reporter:  rl1987        |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------
 {{{

 In contrib/dist/suse/tor.sh.in line 29:
 . /etc/rc.status
   ^------------^ SC1091: Not following: /etc/rc.status was not specified
 as input (see shellcheck -x).


 In contrib/dist/suse/tor.sh.in line 44:
 ulimit -n 8192
        ^-- SC2039: In POSIX sh, ulimit -n is undefined.


 In contrib/dist/suse/tor.sh.in line 65:
     SUPROG=/bin/su
     ^----^ SC2034: SUPROG appears unused. Verify use (or export if used
 externally).


 In contrib/dist/suse/tor.sh.in line 115:
     RETVAL=1
     ^----^ SC2034: RETVAL appears unused. Verify use (or export if used
 externally).

 For more information:
   https://www.shellcheck.net/wiki/SC2034 -- RETVAL appears unused. Verify
 use...
   https://www.shellcheck.net/wiki/SC2039 -- In POSIX sh, ulimit -n is
 undefin...
   https://www.shellcheck.net/wiki/SC1091 -- Not following: /etc/rc.status
 was...
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30076>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list