mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 22:54:57 +02:00
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++;
|
it++;
|
||||||
|
|
||||||
|
continue;
|
||||||
|
} else if (arg == "-d") {
|
||||||
|
daemonize = true;
|
||||||
continue;
|
continue;
|
||||||
} else {
|
} else {
|
||||||
throw invalid_argument("Unknown option: " + arg);
|
throw invalid_argument("Unknown option: " + arg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user