From 86b10a19abbb4dff7c5f8ba2e96dbd9db1228fb2 Mon Sep 17 00:00:00 2001 From: pauget Date: Sat, 14 Feb 2004 20:29:48 +0100 Subject: [PATCH] Encore darcs-hash:20040214192948-41617-990c74046af2724bc5ad61cdd955e75b337e6b15.gz --- syncmail | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncmail b/syncmail index 2687758d..789d4136 100755 --- a/syncmail +++ b/syncmail @@ -235,7 +235,7 @@ def blast_mail(subject, people, filestodiff, contextlines, fromhost): # Obtention du real user => signature automatique des commits ppid=os.getpid() print ppid - os.system('ps auxww') + os.system("ps a -o tty,ppid,pid %s" % ppid) while user=='root' : ppid,user = string.split(string.strip(os.popen("ps --no-headers -o ppid,user %s" % ppid).readlines()[0])) if ppid=='1' :