[tor-bugs] #22720 [Core Tor/Tor]: Don't exit(0) on error: exit(1) instead

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jun 26 07:32:56 UTC 2017


#22720: Don't exit(0) on error: exit(1) instead
--------------------------------------------+------------------------------
 Reporter:  nickm                           |          Owner:
     Type:  defect                          |         Status:  new
 Priority:  Medium                          |      Milestone:  Tor:
                                            |  0.3.1.x-final
Component:  Core Tor/Tor                    |        Version:
 Severity:  Normal                          |     Resolution:
 Keywords:  tor-relay exit error-code easy  |  Actual Points:
Parent ID:                                  |         Points:
 Reviewer:                                  |        Sponsor:
--------------------------------------------+------------------------------

Comment (by huyvq):

 I checked every `exit(0)` and changed `exit(0)` following `log_err()` to
 `exit(1)`.
 PTAL.

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


More information about the tor-bugs mailing list