Encore
darcs-hash:20040214192948-41617-990c74046af2724bc5ad61cdd955e75b337e6b15.gz
This commit is contained in:
parent
f7556e1e87
commit
86b10a19ab
1 changed files with 1 additions and 1 deletions
2
syncmail
2
syncmail
|
@ -235,7 +235,7 @@ def blast_mail(subject, people, filestodiff, contextlines, fromhost):
|
||||||
# Obtention du real user => signature automatique des commits
|
# Obtention du real user => signature automatique des commits
|
||||||
ppid=os.getpid()
|
ppid=os.getpid()
|
||||||
print ppid
|
print ppid
|
||||||
os.system('ps auxww')
|
os.system("ps a -o tty,ppid,pid %s" % ppid)
|
||||||
while user=='root' :
|
while user=='root' :
|
||||||
ppid,user = string.split(string.strip(os.popen("ps --no-headers -o ppid,user %s" % ppid).readlines()[0]))
|
ppid,user = string.split(string.strip(os.popen("ps --no-headers -o ppid,user %s" % ppid).readlines()[0]))
|
||||||
if ppid=='1' :
|
if ppid=='1' :
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue