25 lines
740 B
Diff
25 lines
740 B
Diff
|
From 01217f38addd7ea47e121fc5e31eb2a35a54f9f8 Mon Sep 17 00:00:00 2001
|
||
|
From: Matthias Clasen <mclasen@redhat.com>
|
||
|
Date: Tue, 8 Mar 2011 14:04:05 -0500
|
||
|
Subject: [PATCH] Return 0 on success
|
||
|
|
||
|
Booleans and exist status don't go together well...
|
||
|
---
|
||
|
tools/gnome-session-check-accelerated.c | 2 +-
|
||
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
||
|
|
||
|
diff --git a/tools/gnome-session-check-accelerated.c b/tools/gnome-session-check-accelerated.c
|
||
|
index 7b1cb5f..9d4e2d6 100644
|
||
|
--- a/tools/gnome-session-check-accelerated.c
|
||
|
+++ b/tools/gnome-session-check-accelerated.c
|
||
|
@@ -99,5 +99,5 @@ main (int argc, char **argv)
|
||
|
|
||
|
gdk_display_sync (display);
|
||
|
|
||
|
- return is_accelerated;
|
||
|
+ return is_accelerated ? 0 : 1;
|
||
|
}
|
||
|
--
|
||
|
1.7.4.1
|
||
|
|