Silenced possible ck-list-sessions errors in power.sh
This commit is contained in:
parent
b8a715fc3f
commit
ade213e454
@ -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) }
|
||||
|
@ -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 <jskarvad@redhat.com> - 2.0.16-3
|
||||
- Silenced possible ck-list-sessions errors in power.sh
|
||||
|
||||
* Thu Jun 14 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.16-2
|
||||
- Added support for systemd-loginctl list-sessions
|
||||
Resolves: rhbz#819559
|
||||
|
Loading…
Reference in New Issue
Block a user