diff options
author | baude <bbaude@redhat.com> | 2018-09-19 18:35:58 -0500 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-09-20 09:18:27 +0000 |
commit | af12e6534e9c84f392a5e1ed5fdbd17394deb619 (patch) | |
tree | 557c18a5e67d0fcb93aa78b5f02bb3f60a651cc8 /cmd | |
parent | cad16bd671d8b8a199b39c7329f16b376b704a7d (diff) | |
download | podman-af12e6534e9c84f392a5e1ed5fdbd17394deb619.tar.gz podman-af12e6534e9c84f392a5e1ed5fdbd17394deb619.tar.bz2 podman-af12e6534e9c84f392a5e1ed5fdbd17394deb619.zip |
report when rootless
when running as rootless, report as such.
resolves: #1509
Signed-off-by: baude <bbaude@redhat.com>
Closes: #1514
Approved by: rhatdan
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/main.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/podman/main.go b/cmd/podman/main.go index a532bc26e..840650a3f 100644 --- a/cmd/podman/main.go +++ b/cmd/podman/main.go @@ -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" { |