X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=utilities%2Fovs-controller.c;h=e2816cfc347d9bf1bb724d66e897916cea1a856b;hb=975ac5313396fbafe829b862335d90967b4d74f3;hp=bb55c7fefcfecb1416d058520b72e2051fcc629e;hpb=58fda1dab104041fc693032475ec4662c1a52849;p=openvswitch diff --git a/utilities/ovs-controller.c b/utilities/ovs-controller.c index bb55c7fe..e2816cfc 100644 --- a/utilities/ovs-controller.c +++ b/utilities/ovs-controller.c @@ -127,13 +127,15 @@ main(int argc, char *argv[]) } die_if_already_running(); - daemonize(); + daemonize_start(); retval = unixctl_server_create(NULL, &unixctl); if (retval) { ovs_fatal(retval, "Could not listen for unixctl connections"); } + daemonize_complete(); + while (n_switches > 0 || n_listeners > 0) { int iteration; int i;