mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-07 01:08:52 +00:00
trivial: Fix build warning when compiling without systemd
This commit is contained in:
parent
db8533f743
commit
3a0ee309d5
@ -167,9 +167,8 @@ fu_util_show_plugin_warnings (FuUtilPrivate *priv)
|
|||||||
static gboolean
|
static gboolean
|
||||||
fu_util_start_engine (FuUtilPrivate *priv, FuEngineLoadFlags flags, GError **error)
|
fu_util_start_engine (FuUtilPrivate *priv, FuEngineLoadFlags flags, GError **error)
|
||||||
{
|
{
|
||||||
g_autoptr(GError) error_local = NULL;
|
|
||||||
|
|
||||||
#ifdef HAVE_SYSTEMD
|
#ifdef HAVE_SYSTEMD
|
||||||
|
g_autoptr(GError) error_local = NULL;
|
||||||
if (!fu_systemd_unit_stop (fu_util_get_systemd_unit (), &error_local))
|
if (!fu_systemd_unit_stop (fu_util_get_systemd_unit (), &error_local))
|
||||||
g_debug ("Failed to stop daemon: %s", error_local->message);
|
g_debug ("Failed to stop daemon: %s", error_local->message);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user