Send resume signal when built with systemd and using pm-utils suspend

This case was apparently overlooked when adding systemd support.

Signed-off-by: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Signed-off-by: Richard Hughes <richard@hughsie.com>
This commit is contained in:
Jan Alexander Steffens (heftig) 2012-09-02 04:36:13 +02:00 committed by Richard Hughes
parent 164904bfa3
commit ac4042ffaf

View file

@ -603,10 +603,11 @@ gboolean
up_backend_emits_resuming (UpBackend *backend)
{
#ifdef HAVE_SYSTEMD
return TRUE;
#else
return FALSE;
if (sd_booted ())
return TRUE;
else
#endif
return FALSE;
}
/**