daemon: Provide option to not chdir to root
authorJustin Pettit <jpettit@nicira.com>
Wed, 5 Aug 2009 05:41:46 +0000 (22:41 -0700)
committerJustin Pettit <jpettit@nicira.com>
Fri, 7 Aug 2009 01:04:36 +0000 (18:04 -0700)
commit91a1e24d09ba1f08b1f8c08815f595187c6ef946
treed83c296ebfa87bcd0d8058294776e54a70a74afa
parentc4fca56af2c5cfc8ecfb33648bf4722d3bec5388
daemon: Provide option to not chdir to root

By default, Open vSwitch daemons change their working directories to the
root directory.  This commit provides a --no-chdir option to prevent this
behavior.
lib/daemon.c
lib/daemon.h
lib/daemon.man