diff --git a/acpid.power.sh b/acpid.power.sh index a8e0b18..c13cf7e 100644 --- a/acpid.power.sh +++ b/acpid.power.sh @@ -13,7 +13,7 @@ done # Get the ID of the first active X11 session: using ConsoleKit uid_session=$( -ck-list-sessions | \ +ck-list-sessions 2>/dev/null | \ awk ' /^Session[0-9]+:$/ { uid = active = x11 = "" ; next } { gsub(/'\''/, "", $3) } diff --git a/acpid.spec b/acpid.spec index 8c68472..aad00ba 100644 --- a/acpid.spec +++ b/acpid.spec @@ -1,7 +1,7 @@ Summary: ACPI Event Daemon Name: acpid Version: 2.0.16 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ Group: System Environment/Daemons Source: http://tedfelix.com/linux/acpid-%{version}.tar.xz @@ -129,6 +129,9 @@ fi %changelog +* Thu Jun 14 2012 Jaroslav Škarvada - 2.0.16-3 +- Silenced possible ck-list-sessions errors in power.sh + * Thu Jun 14 2012 Jaroslav Škarvada - 2.0.16-2 - Added support for systemd-loginctl list-sessions Resolves: rhbz#819559