mirror of https://github.com/containers/podman.git
report when rootless
when running as rootless, report as such. resolves: #1509 Signed-off-by: baude <bbaude@redhat.com> Closes: #1514 Approved by: rhatdan
This commit is contained in:
parent
cad16bd671
commit
af12e6534e
|
|
@ -147,6 +147,8 @@ func main() {
|
|||
if err := syscall.Setrlimit(syscall.RLIMIT_NOFILE, rlimits); err != nil {
|
||||
return errors.Wrapf(err, "error setting new rlimits")
|
||||
}
|
||||
} else {
|
||||
logrus.Info("running as rootless")
|
||||
}
|
||||
|
||||
if logLevel == "debug" {
|
||||
|
|
|
|||
Loading…
Reference in New Issue