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