[tracker] Don't keep the tracker-extract command running if DBus says it is
- From: Martyn James Russell <mr src gnome org>
- To: svn-commits-list gnome org
- Subject: [tracker] Don't keep the tracker-extract command running if DBus says it is
- Date: Thu, 9 Apr 2009 08:35:52 -0400 (EDT)
commit 755e60368eef143b054a99400562b0d431d78f4f
Author: Martyn Russell <martyn imendio com>
Date: Thu Apr 9 13:21:01 2009 +0100
Don't keep the tracker-extract command running if DBus says it is
already running
---
ChangeLog | 6 ++++++
src/tracker-extract/tracker-main.c | 4 +++-
2 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7a18df9..fadddbd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-04-09 Martyn Russell <martyn imendio com>
+
+ * src/tracker-extract/tracker-main.c:
+ (main): Don't keep the tracker-extract command running if DBus
+ says it is already running.
+
2009-04-08 Carlos Garnacho <carlos imendio com>
* src/tracker-preferences/tracker-preferences.c (cmd_apply): Make the
diff --git a/src/tracker-extract/tracker-main.c b/src/tracker-extract/tracker-main.c
index bde75da..45cb892 100644
--- a/src/tracker-extract/tracker-main.c
+++ b/src/tracker-extract/tracker-main.c
@@ -318,7 +318,9 @@ main (int argc, char *argv[])
tracker_config_set_verbosity (config, verbosity);
}
- tracker_dbus_init ();
+ if (!tracker_dbus_init ()) {
+ return EXIT_FAILURE;
+ }
/* Initialize subsystems */
initialize_directories ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]