From 5cf0b6224b6b3bcebb342b90f8bf2df819c59c9c Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sat, 28 Feb 2004 23:21:29 +0000 Subject: bugfix: stop trying to write to a stderr that may not be there also, tell start_daemon our desired cwd svn:r1170 --- src/common/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/util.h') 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 -- cgit v1.2.3-54-g00ecf