aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-08-25 11:08:13 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-08-25 11:08:13 +0800
commit2b8c7c62aa3d172e3530c0570be29dfaac501432 (patch)
tree22c72758fd3e4736946114f9f61ee35e002123d5 /shell/e-shell.c
parent3184f3d532f7d1aabfcf49a0ba6fef9c6fcbdf5e (diff)
downloadgsoc2013-evolution-2b8c7c62aa3d172e3530c0570be29dfaac501432.tar.gz
gsoc2013-evolution-2b8c7c62aa3d172e3530c0570be29dfaac501432.tar.zst
gsoc2013-evolution-2b8c7c62aa3d172e3530c0570be29dfaac501432.zip
Exit if no command-line URIs are handled.
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c4
1 files changed, 3 insertions, 1 deletions
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);
}
/**