mirror of https://github.com/Icinga/icinga2.git
Implemented -d (daemonize) option.
This commit is contained in:
parent
1896ed356f
commit
97b5c70eea
|
@ -87,6 +87,9 @@ int IcingaApplication::Main(const vector<string>& args)
|
|||
|
||||
it++;
|
||||
|
||||
continue;
|
||||
} else if (arg == "-d") {
|
||||
daemonize = true;
|
||||
continue;
|
||||
} else {
|
||||
throw invalid_argument("Unknown option: " + arg);
|
||||
|
|
Loading…
Reference in New Issue