Re: Fix check for systemd in modules that talk to logind



Martin Pitt [2013-03-21 12:10 +0100]:
I didn't prepare one for system-monitor yet as this needs some more
tought (either checking for both sd_booted() and logind, or making it
resistant to failures of sd_pid_get_unit()).

Scratch that, the failure mode of sd_pid_get_unit() is just fine.
https://bugzilla.gnome.org/show_bug.cgi?id=696274 created with a
tested patch.

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: signature.asc
Description: Digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]