File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ ocvsmd::daemon::engine::Config::Ptr loadConfig(const int err_fd,
301301 const char ** const argv)
302302{
303303 static const std::string cfg_file_name = " ocvsmd.toml" ;
304- static const std::string config_file_prefix = " CONFIG_FILE =" ;
304+ static const std::string config_file_prefix = " --config-file =" ;
305305
306306 const std::string cfg_file_dir = is_daemonized ? " /etc/ocvsmd/" : " ./" ;
307307 auto cfg_file_path = cfg_file_dir + cfg_file_name;
@@ -338,7 +338,7 @@ int main(const int argc, const char** const argv)
338338 bool should_daemonize = true ;
339339 for (int i = 1 ; i < argc; ++i)
340340 {
341- if (::strcmp (argv[i], " --dev " ) == 0 ) // NOLINT
341+ if (::strcmp (argv[i], " --no-daemon " ) == 0 ) // NOLINT
342342 {
343343 should_daemonize = false ;
344344 }
You can’t perform that action at this time.
0 commit comments