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' :