diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-05-17 11:08:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-17 11:08:50 +0200 |
commit | e28d46b76b630fb97b6d405dda058fd32701de63 (patch) | |
tree | 3150f3b26e3932ab2d21d77cfa3e8c692b8071a2 | |
parent | eb26fa45f1326191dea27f2afabf82cb8b934140 (diff) | |
parent | 21a5ef859c31ba2f16b28cdc591630928ccfccf2 (diff) | |
download | podman-e28d46b76b630fb97b6d405dda058fd32701de63.tar.gz podman-e28d46b76b630fb97b6d405dda058fd32701de63.tar.bz2 podman-e28d46b76b630fb97b6d405dda058fd32701de63.zip |
Merge pull request #14255 from hiredman/pr-for-14249
Don't complain about XDG_RUNTIME_DIR, Closes #1424
-rw-r--r-- | libpod/runtime.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/runtime.go b/libpod/runtime.go index f4cd9cf00..58f20ef5b 100644 --- a/libpod/runtime.go +++ b/libpod/runtime.go @@ -349,7 +349,7 @@ func makeRuntime(runtime *Runtime) (retErr error) { // it will try to use existing XDG_RUNTIME_DIR // if current user has no write access to XDG_RUNTIME_DIR we will fail later if err := unix.Access(runtime.storageConfig.RunRoot, unix.W_OK); err != nil { - msg := "XDG_RUNTIME_DIR is pointing to a path which is not writable. Most likely podman will fail." + msg := fmt.Sprintf("RunRoot is pointing to a path (%s) which is not writable. Most likely podman will fail.", runtime.storageConfig.RunRoot) if errors.Is(err, os.ErrNotExist) { // if dir does not exists try to create it if err := os.MkdirAll(runtime.storageConfig.RunRoot, 0700); err != nil { |