aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index 5019702e3a..4696351613 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -844,6 +844,9 @@ component_factory_init (void)
e_notice (NULL, GNOME_MESSAGE_BOX_ERROR,
_("Cannot initialize Evolution's mail component."));
exit (1);
+ } else if (result == OAF_REG_ALREADY_ACTIVE) {
+ g_warning ("evolution-mail is already running");
+ exit (1);
}
/* FIXME these don't check for errors. */