gnome-power-manager r2757 - in branches/gnome-2-22: . tools
- From: simonz svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-power-manager r2757 - in branches/gnome-2-22: . tools
- Date: Tue, 1 Apr 2008 03:24:22 +0100 (BST)
Author: simonz
Date: Tue Apr 1 03:24:21 2008
New Revision: 2757
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=2757&view=rev
Log:
2008-04-01 simon.zheng <simon zheng sun com>
* tools/gnome-power-cmd.sh:
Only show "Failed" when D-Bus method call really fails.
Modified:
branches/gnome-2-22/ChangeLog
branches/gnome-2-22/tools/gnome-power-cmd.sh
Modified: branches/gnome-2-22/tools/gnome-power-cmd.sh
==============================================================================
--- branches/gnome-2-22/tools/gnome-power-cmd.sh (original)
+++ branches/gnome-2-22/tools/gnome-power-cmd.sh Tue Apr 1 03:24:21 2008
@@ -20,7 +20,7 @@
--type=method_call --print-reply --reply-timeout=2000 \
/org/freedesktop/PowerManagement \
org.freedesktop.PowerManagement.$1
- if [ $? -eq 0 ]; then
+ if [ $? -ne 0 ]; then
echo "Failed"
fi
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]