aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2015-03-20 16:56:55 -0400
committerThomas Winget <tewinget@gmail.com>2015-03-20 16:56:55 -0400
commitf78bb00943b5d8ca1a81204cc1756d12f2e89f75 (patch)
tree8b1bdc1408c178b9d437e82bce58816d2b0287ac
parentHopefully fixes build on Windows (diff)
downloadmonero-f78bb00943b5d8ca1a81204cc1756d12f2e89f75.tar.xz
Hopefully fixes build on Windows for real this time
Diffstat (limited to '')
-rw-r--r--src/daemonizer/windows_daemonizer.inl10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/daemonizer/windows_daemonizer.inl b/src/daemonizer/windows_daemonizer.inl
index 5091ca948..c099f4097 100644
--- a/src/daemonizer/windows_daemonizer.inl
+++ b/src/daemonizer/windows_daemonizer.inl
@@ -107,7 +107,7 @@ namespace daemonizer
{
std::string arguments = get_argument_string(argc, argv);
- if (command_line::arg_present(vm, arg_is_service))
+ if (command_line::has_arg(vm, arg_is_service))
{
// TODO - Set the service status here for return codes
windows::t_service_runner<typename T_executor::t_daemon>::run(
@@ -116,7 +116,7 @@ namespace daemonizer
);
return true;
}
- else if (command_line::arg_present(vm, arg_install_service))
+ else if (command_line::has_arg(vm, arg_install_service))
{
if (windows::ensure_admin(arguments))
{
@@ -124,21 +124,21 @@ namespace daemonizer
return windows::install_service(executor.name(), arguments);
}
}
- else if (command_line::arg_present(vm, arg_uninstall_service))
+ else if (command_line::has_arg(vm, arg_uninstall_service))
{
if (windows::ensure_admin(arguments))
{
return windows::uninstall_service(executor.name());
}
}
- else if (command_line::arg_present(vm, arg_start_service))
+ else if (command_line::has_arg(vm, arg_start_service))
{
if (windows::ensure_admin(arguments))
{
return windows::start_service(executor.name());
}
}
- else if (command_line::arg_present(vm, arg_stop_service))
+ else if (command_line::has_arg(vm, arg_stop_service))
{
if (windows::ensure_admin(arguments))
{