[tracker] tracker: Allow -r and -c to be used with 'tracker reset' together
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker: Allow -r and -c to be used with 'tracker reset' together
- Date: Wed, 10 Dec 2014 15:53:51 +0000 (UTC)
commit a1d852d08c41e7f2f96b5b82aeb9f6f566031184
Author: Martyn Russell <martyn lanedo com>
Date: Tue Oct 28 13:13:56 2014 +0000
tracker: Allow -r and -c to be used with 'tracker reset' together
src/tracker/tracker-reset.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker/tracker-reset.c b/src/tracker/tracker-reset.c
index 4c79137..63b0085 100644
--- a/src/tracker/tracker-reset.c
+++ b/src/tracker/tracker-reset.c
@@ -200,6 +200,10 @@ reset_run (void)
/* Unset log handler */
g_log_remove_handler (NULL, log_handler_id);
+
+ if (!remove_config) {
+ return EXIT_SUCCESS;
+ }
}
if (remove_config) {
@@ -264,6 +268,8 @@ reset_run (void)
g_settings_sync ();
tracker_gsettings_free (all);
+
+ return EXIT_SUCCESS;
}
/* All known options have their own exit points */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]