Skip to content

Commit

Permalink
Fix merge conflict
Browse files Browse the repository at this point in the history
Caused by:
* #1688 0e56164
* #1759 dd67ab1

Signed-off-by: Akihiro Suda <[email protected]>
  • Loading branch information
AkihiroSuda committed May 30, 2018
1 parent 5e9c2ba commit 1e44f9e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion utils_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ func loadFactory(context *cli.Context) (libcontainer.Factory, error) {
// We default to cgroupfs, and can only use systemd if the system is a
// systemd box.
cgroupManager := libcontainer.Cgroupfs
if isRootless() {
rootless, err := isRootless(context)
if err != nil {
return nil, err
}
if rootless {
cgroupManager = libcontainer.RootlessCgroupfs
}
if context.GlobalBool("systemd-cgroup") {
Expand Down

0 comments on commit 1e44f9e

Please sign in to comment.