mirror of
https://github.com/containers/podman.git
synced 2025-12-08 06:39:05 +08:00
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:
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user