Skip non-regular files in embedding and comment on the chrootEnv map

This commit is contained in:
Alex Dadgar
2015-09-24 16:17:58 -07:00
parent 66fd821af5
commit 6d7afcd1ff
2 changed files with 4 additions and 3 deletions

View File

@@ -29,6 +29,8 @@ const (
)
var (
// A mapping of directories on the host OS to attempt to embed inside each
// task's chroot.
chrootEnv = map[string]string{
"/bin": "/bin",
"/etc": "/etc",