If we don't do this, the callback provided by the application will
not always be called and thus, sd_notify() will only be called if
reading the LUC is attempted. That breaks starting the NSC service
through systemd.
Signed-off-by: Jannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Reviewed-by: Jonathan Maw <jonathan.maw@codethink.co.uk>
=====
* Make systemd respond to "READY" notifications from the NSC (GT-2212)
* Adjust D-Bus interface definitions to match the Node State Manager.
+* Fix starting through systemd if the LUC cannot be read from disk.
1.0.0
=====
DLT_STRING ("Failed to read the last user context:"),
DLT_STRING (error->message));
g_error_free (error);
+
+ /* notify others that we are finished starting the groups, even if
+ * that failed */
+ g_signal_emit (starter, luc_starter_signals[SIGNAL_LUC_GROUPS_STARTED],
+ 0, NULL);
+
return;
}