[tracker] Fixes GB#628872, tracker-control -t or -k shouldn't kill tracker-status-icon
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] Fixes GB#628872, tracker-control -t or -k shouldn't kill tracker-status-icon
- Date: Thu, 9 Sep 2010 09:00:36 +0000 (UTC)
commit fd278e359324ee0ae41974d3e9b7b3d92cd2fe79
Author: Martyn Russell <martyn lanedo com>
Date: Thu Sep 9 09:58:04 2010 +0100
Fixes GB#628872, tracker-control -t or -k shouldn't kill tracker-status-icon
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 f34084f..9292b45 100644
--- a/src/tracker-control/tracker-control.c
+++ b/src/tracker-control/tracker-control.c
@@ -341,7 +341,8 @@ main (int argc, char **argv)
if ((g_str_has_prefix (basename, "tracker") == TRUE ||
g_str_has_prefix (basename, "lt-tracker") == TRUE) &&
- g_str_has_suffix (basename, "-control") == FALSE) {
+ g_str_has_suffix (basename, "-control") == FALSE &&
+ g_str_has_suffix (basename, "-status-icon") == FALSE) {
pid_t pid;
pid = atoi (l->data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]