blob: 499b6f2aa060a5453999e03af1501c19adbe6f0e (
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
|
$FreeBSD$
--- coreapi/misc.c.orig Sat Aug 9 00:10:47 2003
+++ coreapi/misc.c Sat Aug 23 00:08:50 2003
@@ -93,7 +93,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)
{
@@ -123,7 +123,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)
{
|