1 From 6eb49392fad8c76ade38fbd712509f0daa419a06 Mon Sep 17 00:00:00 2001
2 From: Jan de Groot <jan@jgc.homeip.net>
3 Date: Thu, 31 Mar 2011 12:27:37 +0200
4 Subject: [PATCH] Initialize exit status with EXIT_SUCCESS instead of -1. When things go wrong, the exit status is set to something else anyways. Fixes bug #646317
8 1 files changed, 1 insertions(+), 1 deletions(-)
10 diff --git a/src/terminal.c b/src/terminal.c
11 index 202b850..06de533 100644
14 @@ -579,7 +579,7 @@ main (int argc, char **argv)
15 data = g_new (OwnData, 1);
16 data->factory_name = get_factory_name_for_display (display_name);
17 data->options = options;
18 - data->exit_code = -1;
19 + data->exit_code = EXIT_SUCCESS;
20 data->argv = argv_copy;
21 data->argc = argc_copy;