[tracker/miner-fs-dbus-api: 19/22] tracker-control: Don't print PIDs if we're reindexing mimes or a file



commit 0adfed9bdb6046df692774e78e8598a7b5b2bd75
Author: Martyn Russell <martyn lanedo com>
Date:   Tue Aug 24 16:11:47 2010 +0100

    tracker-control: Don't print PIDs if we're reindexing mimes or a file

 src/tracker-control/tracker-control.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-control/tracker-control.c b/src/tracker-control/tracker-control.c
index d32a3a1..8f33368 100644
--- a/src/tracker-control/tracker-control.c
+++ b/src/tracker-control/tracker-control.c
@@ -303,7 +303,8 @@ main (int argc, char **argv)
 	 */
 	if (kill_option != TERM_NONE ||
 	    terminate_option != TERM_NONE ||
-	    (!start && !remove_config)) {
+	    (!start && !remove_config && !reindex_mime_types && 
+	     !print_version && !index_file)) {
 		pids = get_pids ();
 		str = g_strdup_printf (g_dngettext (NULL,
 		                                    "Found %d PIDâ?¦",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]