Change in detect chroot.

If one of parent process has CHROOT=on env variable then chroot_status
on.
newutils
Mike Hiretsky 14 years ago
parent 5589b29ddf
commit 10deb927f2

@ -120,7 +120,7 @@ class fillVars(object, glob_attr):
else:
return cacheDir
reChroot = re.compile("^_=.*bin/chroot$",re.S)
reChroot = re.compile("^(?:_=.*bin/chroot|CHROOT=on)$",re.S)
def isChroot(self,pid):
"""Recursive detect chroot mode"""

Loading…
Cancel
Save