Skip to content
Snippets Groups Projects
Commit 0ba3d759 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Don't chdir("/"). Root may not be writable to daemon.

Only user can select appropriate run directory.  Best left to user.
parent 36b04233
Branches
Tags
No related merge requests found
......@@ -100,7 +100,9 @@ lutil_detach( int debug, int do_close )
}
}
#ifdef CHDIR_TO_ROOT
(void) chdir( "/" );
#endif
#ifdef HAVE_SETSID
(void) setsid();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment