ovsdb-client: Fix regression introduced with changes to daemonize().
authorBen Pfaff <blp@nicira.com>
Wed, 13 Jan 2010 17:55:52 +0000 (09:55 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 13 Jan 2010 17:57:31 +0000 (09:57 -0800)
commiteb8d3ed67cf66f571973d7ad324e607013c18e44
treea1394e21c3a1e2c9c514b7b974c08e71119dce03
parent55368fb83674be5327639322ab3ffb0192782da2
ovsdb-client: Fix regression introduced with changes to daemonize().

daemonize() now closes the standard file descriptors, but ovsdb-client's
"monitor" command uses stdout even after daemonizing.  This caused
tests that used "ovsdb-client --detach monitor" to fail without printing
their complete output.  This commit fixes the problem.
ovsdb/ovsdb-client.c