From 97b5c70eea434cc9dbe274ac0261b5f0701bfed1 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 10 Jul 2012 16:02:45 +0200 Subject: [PATCH] Implemented -d (daemonize) option. --- icinga/icingaapplication.cpp | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.40.0