ovs-openflowd: Add "exit" unixctl command.
[openvswitch] / ovsdb / ovsdb-server.c
index 872cc9f9f4bfae30593f66e786d7a9c67e9eafc5..c7a93815b80346d92519e2bb1c2d0a3e12cf917e 100644 (file)
@@ -149,6 +149,9 @@ main(int argc, char *argv[])
         if (run_process) {
             process_wait(run_process);
         }
+        if (exiting) {
+            poll_immediate_wake();
+        }
         poll_block();
     }
     ovsdb_jsonrpc_server_destroy(jsonrpc);