diff --git a/main.go b/main.go index d4f507b9..ecc4e5dd 100644 --- a/main.go +++ b/main.go @@ -7,7 +7,6 @@ import ( "github.com/Sirupsen/logrus" "github.com/codegangsta/cli" "github.com/opencontainers/runc/libcontainer" - _ "github.com/opencontainers/runc/libcontainer/nsenter" ) const ( diff --git a/main_unix.go b/main_unix.go new file mode 100644 index 00000000..7bbec9fa --- /dev/null +++ b/main_unix.go @@ -0,0 +1,5 @@ +// +build linux + +package main + +import _ "github.com/opencontainers/runc/libcontainer/nsenter"