Skip to content

Commit

Permalink
Windows: Extend support for binaries which allow detach
Browse files Browse the repository at this point in the history
On Windows we require service_start to be called to parse and setup
requirements for '--detach' argument.
Affected binaries: ovn-trace, ovsdb-client, ovs-testcontroller.

Subsequent patches will be sent to adapt the tests with the new features.

Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Signed-off-by: Gurucharan Shetty <guru@ovn.org>
  • Loading branch information
Alin Serdean authored and shettyg committed Sep 14, 2016
1 parent b9320e5 commit fe55938
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ovn/utilities/ovn-trace.c
Expand Up @@ -73,6 +73,7 @@ int
main(int argc, char *argv[])
{
set_program_name(argv[0]);
service_start(&argc, &argv);
fatal_ignore_sigpipe();
vlog_set_levels_from_string_assert("reconnect:warn");
sbrec_init();
Expand Down
1 change: 1 addition & 0 deletions ovsdb/ovsdb-client.c
Expand Up @@ -90,6 +90,7 @@ main(int argc, char *argv[])

ovs_cmdl_proctitle_init(argc, argv);
set_program_name(argv[0]);
service_start(&argc, &argv);
parse_options(argc, argv);
fatal_ignore_sigpipe();

Expand Down
1 change: 1 addition & 0 deletions utilities/ovs-testcontroller.c
Expand Up @@ -105,6 +105,7 @@ main(int argc, char *argv[])

ovs_cmdl_proctitle_init(argc, argv);
set_program_name(argv[0]);
service_start(&argc, &argv);
parse_options(argc, argv);
fatal_ignore_sigpipe();

Expand Down

0 comments on commit fe55938

Please sign in to comment.