daemon: Disable logging to console after detaching.
authorBen Pfaff <blp@nicira.com>
Tue, 14 Jun 2011 23:08:59 +0000 (16:08 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 16 Jun 2011 19:28:06 +0000 (12:28 -0700)
commitd3824212ada08ae285ac2e4f05dc30d97a7c25ad
tree66da0ad5ebd7fd8d045e7a9bfb16f6618155a442
parentbae473fea5404a5afd205c70689778386045ebab
daemon: Disable logging to console after detaching.

When we detach, we replace stderr by /dev/null, so there's no point in
logging to the console after that.  Just turn it off.
lib/daemon.c