diff options
author | Roger Dingledine <arma@torproject.org> | 2004-02-28 23:21:29 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-02-28 23:21:29 +0000 |
commit | 5cf0b6224b6b3bcebb342b90f8bf2df819c59c9c (patch) | |
tree | 9a8bcc362744e34c4d1541e1216f4aef1e216798 /src/common/util.h | |
parent | 5701cc2359d5431354b17820819e4117f471952b (diff) | |
download | tor-5cf0b6224b6b3bcebb342b90f8bf2df819c59c9c.tar.gz tor-5cf0b6224b6b3bcebb342b90f8bf2df819c59c9c.zip |
bugfix: stop trying to write to a stderr that may not be there
also, tell start_daemon our desired cwd
svn:r1170
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.h b/src/common/util.h index fd300fa805..850b9015ac 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -91,7 +91,7 @@ const char *get_uname(void); * until finish_daemon is called. (Note: it's safe to call this more * than once: calls after the first are ignored.) */ -void start_daemon(void); +void start_daemon(char *desired_cwd); /* Finish putting the process into daemon mode: drop standard fds, and tell * the parent process to exit. (Note: it's safe to call this more than once: * calls after the first are ignored. Calls start_daemon first if it hasn't |