[gnome-terminal] Fix exit status of factory processes
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] Fix exit status of factory processes
- Date: Thu, 25 Aug 2011 17:21:46 +0000 (UTC)
commit a7c6cd3823db3e0b93cfb1fb000edff3260a6858
Author: Jan de Groot <jan jgc homeip net>
Date: Thu Aug 25 13:19:47 2011 -0400
Fix exit status of factory processes
The exit status should default to EXIT_SUCCESS instead of -1. When
things go wrong, the exit status is set to something else
anyways.
https://bugzilla.gnome.org/show_bug.cgi?id=646317
src/terminal.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/terminal.c b/src/terminal.c
index 202b850..06de533 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -579,7 +579,7 @@ main (int argc, char **argv)
data = g_new (OwnData, 1);
data->factory_name = get_factory_name_for_display (display_name);
data->options = options;
- data->exit_code = -1;
+ data->exit_code = EXIT_SUCCESS;
data->argv = argv_copy;
data->argc = argc_copy;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]