aboutsummaryrefslogtreecommitdiff
path: root/src/daemonizer/windows_daemonizer.inl
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemonizer/windows_daemonizer.inl')
-rw-r--r--src/daemonizer/windows_daemonizer.inl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemonizer/windows_daemonizer.inl b/src/daemonizer/windows_daemonizer.inl
index 65c1e4195..5091ca948 100644
--- a/src/daemonizer/windows_daemonizer.inl
+++ b/src/daemonizer/windows_daemonizer.inl
@@ -81,9 +81,9 @@ namespace daemonizer
boost::program_options::variables_map const & vm
)
{
- if (command_line::arg_present(vm, arg_is_service))
+ if (command_line::has_arg(vm, arg_is_service))
{
- if (command_line::arg_present(vm, command_line::arg_data_dir))
+ if (command_line::has_arg(vm, command_line::arg_data_dir))
{
return command_line::get_arg(vm, command_line::arg_data_dir);
}