2008-02-11 04:03:31 -05:00
|
|
|
$OpenBSD: patch-src-tilda_c,v 1.2 2008/02/11 09:03:31 jasper Exp $
|
|
|
|
--- src/tilda.c.orig Mon Feb 11 00:07:47 2008
|
|
|
|
+++ src/tilda.c Mon Feb 11 00:08:14 2008
|
|
|
|
@@ -206,7 +206,7 @@ static gint remove_stale_lock_files (gchar *home_direc
|
2007-05-09 15:10:27 -04:00
|
|
|
|
2008-02-11 04:03:31 -05:00
|
|
|
GSList *pids = NULL;
|
|
|
|
FILE *ps_output;
|
|
|
|
- const gchar ps_command[] = "ps -C tilda -o pid=";
|
|
|
|
+ const gchar ps_command[] = "/usr/bin/pgrep tilda";
|
2007-05-09 15:10:27 -04:00
|
|
|
gchar buf[16]; /* Really shouldn't need more than 6 */
|
|
|
|
|
2008-02-11 04:03:31 -05:00
|
|
|
if ((ps_output = popen (ps_command, "r")) == NULL)
|