bugfix: chdir to your datadirectory at the *end* of the
commit652dde72f1beed1fb83d137314f47aff15b01036
authorRoger Dingledine <arma@torproject.org>
Wed, 6 Apr 2005 19:07:38 +0000 (6 19:07 +0000)
committerRoger Dingledine <arma@torproject.org>
Wed, 6 Apr 2005 19:07:38 +0000 (6 19:07 +0000)
treef414cd4a41a69d367f68f4c4fdaeae054b5e2aad
parent8596947ee220a4ff342cfd72d86cabbf8b6966d8
bugfix: chdir to your datadirectory at the *end* of the
daemonize process, not the beginning. this was a problem
because the first time you run tor, if your datadir isn't
there, and you have runasdaemon set to 1, it will try to
chdir to it before it tries to create it. oops.

svn:r4033
src/common/util.c
src/common/util.h
src/or/config.c