updater: Add missing static keyword

Earlier refactoring introduced a regresssion where the object manager is
briefly created and then destroyed.  This means the application doesn't
emit ObjectManager signals when processing new images - or any other
activity that results in new dbus objects, and any subsequent downstream
logic that relies on these signals is not triggered.

The object manager is meant to be created and remain for the lifetime of
the daemon so make it static.

Change-Id: I086c7ba108d05c8783497d0e255187c3b149a2a8
Fixes: 1ee9095b28861cbff63b350625e407faa1936430
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/item_updater_main.cpp b/item_updater_main.cpp
index ea8c435..31a58bd 100644
--- a/item_updater_main.cpp
+++ b/item_updater_main.cpp
@@ -30,7 +30,8 @@
 {
 void initializeService(sdbusplus::bus::bus& bus)
 {
-    sdbusplus::server::manager::manager objManager(bus, SOFTWARE_OBJPATH);
+    static sdbusplus::server::manager::manager objManager(bus,
+                                                          SOFTWARE_OBJPATH);
 #ifdef UBIFS_LAYOUT
     static ItemUpdaterUbi updater(bus, SOFTWARE_OBJPATH);
     static Watch watch(