d621009f5d
(https://bugzilla.gnome.org/show_bug.cgi?id=646317). This patch addresses a bug in gnome-terminal in which it returns an invalid exit status causing some environments (e.g. e17) to complain (http://trac.enlightenment.org/e/ticket/823). Approved by: mezz on gnome Obtained from: Gnome bugzilla bug 646317 (https://bugzilla.gnome.org/show_bug.cgi?id=646317) Feature safe: yes
11 lines
392 B
C
11 lines
392 B
C
--- src/terminal.c.orig 2010-11-10 10:47:14.000000000 -0800
|
|
+++ src/terminal.c 2012-03-23 21:10:08.520503912 -0700
|
|
@@ -579,7 +579,7 @@
|
|
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;
|
|
|