Skip to content

Commit

Permalink
Merge pull request #21017 from giuseppe/fix-podman-info-twice
Browse files Browse the repository at this point in the history
abi: drop check for IsRootless()
  • Loading branch information
openshift-merge-bot[bot] authored Dec 18, 2023
2 parents de3c02a + 1322f31 commit 26bcffd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/domain/infra/abi/system_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ func (ic *ContainerEngine) SetupRootless(_ context.Context, noMoveProcess bool)
}
}

if !rootless.IsRootless() {
return nil
}

// do it only after podman has already re-execed and running with uid==0.
hasCapSysAdmin, err := unshare.HasCapSysAdmin()
if err != nil {
Expand Down

0 comments on commit 26bcffd

Please sign in to comment.