summaryrefslogtreecommitdiff
path: root/net/linphone-base/files/patch-coreapi::misc.c
blob: dfeef28b937688f588b098640f81a5f88c67df4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
	

--- coreapi/misc.c.orig	Wed Mar 12 09:52:05 2003
+++ coreapi/misc.c	Wed Mar 12 09:52:39 2003
@@ -87,7 +87,7 @@
 	pid_t pid;
 	
 	/* try to kill all artsd*/
-	command=g_strdup_printf("ps -u %s |grep artsd",getenv("LOGNAME"));
+	command=g_strdup_printf("ps -c %s |grep artsd",getenv("LOGNAME"));
 	out=popen(command,"r");
 	if (out!=NULL)
 	{
@@ -102,7 +102,7 @@
 	}
 	g_free(command);
 	/* do the same with esd*/
-	command=g_strdup_printf("ps -u %s |grep esd",getenv("LOGNAME"));
+	command=g_strdup_printf("ps -c %s |grep esd",getenv("LOGNAME"));
 	out=popen(command,"r");
 	if (out!=NULL)
 	{