浏览代码

Don't remove the container= environment variable, as it is crucial for a lot of tools to detect, whether they're run inside an LXC container or not.

Elias Probst 12 年之前
父节点
当前提交
e5e47c9862
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      sysinit.go

+ 0 - 3
sysinit.go

@@ -60,9 +60,6 @@ func cleanupEnv(env ListOpts) {
 		if len(parts) == 1 {
 			parts = append(parts, "")
 		}
-		if parts[0] == "container" {
-			continue
-		}
 		os.Setenv(parts[0], parts[1])
 	}
 }