[tbb-bugs] #13717 [Tor Browser]: Make "sh start-tor-browser" give a useful error message

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jan 16 22:16:11 UTC 2015

#13717: Make "sh start-tor-browser" give a useful error message
     Reporter:  arma         |      Owner:  tbb-team
         Type:  defect       |     Status:  new
     Priority:  normal       |  Milestone:
    Component:  Tor Browser  |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |

Comment (by cypherpunks):

 This certainly isn't shell ninja code, but just adding something like

 # Make sure this script wasn't started as 'sh start-tor-browser' or
 if [ "x$BASH" = "x" ]; then
         echo "The $complain_dialog_title should be started as './start-
         echo "Exiting." >&2
         exit 1;

 would alredy prevent people from trying to run start-tor-browser using a
 shell other than bash.
 But this would be enough, as starting the browser using 'bash start-tor-
 browser' isn't a problem.

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

More information about the tbb-bugs mailing list