[ovs-dev] [PATCH 4/5] ovs-ofctl: Enable the ability to 'detach' on Windows.

Gurucharan Shetty shettyg at nicira.com
Mon May 19 19:52:25 UTC 2014


This is mostly for unit tests that use ovs-ofctl monitor.
service_start() creates a new process and waits till
daemonize_complete() is called by the child.

Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
---
 utilities/ovs-ofctl.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/utilities/ovs-ofctl.c b/utilities/ovs-ofctl.c
index 1034e8b..ea72be0 100644
--- a/utilities/ovs-ofctl.c
+++ b/utilities/ovs-ofctl.c
@@ -113,6 +113,7 @@ int
 main(int argc, char *argv[])
 {
     set_program_name(argv[0]);
+    service_start(&argc, &argv);
     parse_options(argc, argv);
     fatal_ignore_sigpipe();
     run_command(argc - optind, argv + optind, get_all_commands());
-- 
1.7.9.5




More information about the dev mailing list