$OpenBSD: patch-common_tools_py,v 1.2 2010/11/05 16:39:10 ajacoutot Exp $
--- common/tools.py.orig	Tue Oct 26 22:33:06 2010
+++ common/tools.py	Fri Nov  5 16:07:00 2010
@@ -111,7 +111,7 @@ def make_dirs( path ):
 
 
 def process_exists( name ):
-	output = read_command_output( "ps -o pid= -C %s" % name )
+	output = read_command_output( "pgrep -f %s" % name )
 	return len( output ) > 0
 
 
