diff --git a/icinga/icingaapplication.cpp b/icinga/icingaapplication.cpp index 7be913310..f240651aa 100644 --- a/icinga/icingaapplication.cpp +++ b/icinga/icingaapplication.cpp @@ -87,6 +87,9 @@ int IcingaApplication::Main(const vector& args) it++; + continue; + } else if (arg == "-d") { + daemonize = true; continue; } else { throw invalid_argument("Unknown option: " + arg);