From 2b8c7c62aa3d172e3530c0570be29dfaac501432 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 24 Aug 2009 23:08:13 -0400 Subject: Exit if no command-line URIs are handled. --- shell/e-shell.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'shell/e-shell.c') diff --git a/shell/e-shell.c b/shell/e-shell.c index 8e05980623..4dd72e3747 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -1294,7 +1294,9 @@ unique: /* Send a message to the other Evolution process. */ unique_app_send_message (app, UNIQUE_OPEN, data); unique_message_data_free (data); - return 0; + /* As far as we're concerned, all URIs have been handled. */ + + return g_strv_length (uris); } /** -- cgit v1.2.3