[tracker/tracker-0.10: 23/32] tracker-store: Check XDG directories after initializing log
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10: 23/32] tracker-store: Check XDG directories after initializing log
- Date: Thu, 30 Jun 2011 08:52:56 +0000 (UTC)
commit 313b287b8457dffb1f7f391298ec659ef48d6076
Author: JÃrg Billeter <j bitron ch>
Date: Wed Jun 22 12:08:06 2011 +0200
tracker-store: Check XDG directories after initializing log
This prevents log messages below configured verbosity.
src/tracker-store/tracker-main.vala | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/tracker-store/tracker-main.vala b/src/tracker-store/tracker-main.vala
index 768ed27..adf9c99 100644
--- a/src/tracker-store/tracker-main.vala
+++ b/src/tracker-store/tracker-main.vala
@@ -187,11 +187,6 @@ License which can be viewed at:
initialize_signal_handler ();
- /* Check XDG spec locations XDG_DATA_HOME _MUST_ be writable. */
- if (!Tracker.env_check_xdg_dirs ()) {
- return 1;
- }
-
/* This makes sure we don't steal all the system's resources */
initialize_priority ();
@@ -219,6 +214,11 @@ License which can be viewed at:
sanity_check_option_values (config);
+ /* Check XDG spec locations XDG_DATA_HOME _MUST_ be writable. */
+ if (!Tracker.env_check_xdg_dirs ()) {
+ return 1;
+ }
+
DBManagerFlags flags = DBManagerFlags.REMOVE_CACHE;
if (force_reindex) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]