Skip to content

Commit

Permalink
Merge pull request #1167 from flouthoc/fix-regression
Browse files Browse the repository at this point in the history
util, GetRuntimeDir: don't error out early if `XDG_RUNTIME_DIR` is not set.
  • Loading branch information
openshift-merge-robot authored Sep 29, 2022
2 parents ddd92be + 9bd5c94 commit 2d1b45a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/util/util_supported.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ func GetRuntimeDir() (string, error) {
rootlessRuntimeDirOnce.Do(func() {
runtimeDir, err := homedir.GetRuntimeDir()
if err != nil {
rootlessRuntimeDirError = err
return
logrus.Debug(err)
}
if runtimeDir != "" {
st, err := os.Stat(runtimeDir)
Expand Down

0 comments on commit 2d1b45a

Please sign in to comment.