$OpenBSD: patch-GTG_gtg_py,v 1.5 2012/06/24 23:01:13 gonzalo Exp $
--- GTG/gtg.py.orig	Wed Feb  8 16:58:45 2012
+++ GTG/gtg.py	Fri May 18 14:49:57 2012
@@ -79,7 +79,7 @@ def check_instance(directory, uri_list = []):
     pid = open(pidfile, "r").readline()
     if pid:
         p = os.system("/bin/ps %s >/dev/null" % pid)
-        p_name = os.popen("/bin/ps -f %s" % pid).read()
+        p_name = os.popen("/bin/ps -p %s" % pid).read()
         if p == 0 and "gtg" in p_name:
             print _("gtg is already running!")
             try:
