[gnome-session] Return 0 on success
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-session] Return 0 on success
- Date: Tue, 8 Mar 2011 19:04:39 +0000 (UTC)
commit 01217f38addd7ea47e121fc5e31eb2a35a54f9f8
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Mar 8 14:04:05 2011 -0500
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]