Skip to content

Commit

Permalink
Merge pull request containers#17689 from openshift-cherrypick-robot/c…
Browse files Browse the repository at this point in the history
…herry-pick-17686-to-v4.4

[v4.4] Fix package restore of shadow-utils on Windows
  • Loading branch information
rhatdan authored Mar 4, 2023
2 parents 73ce3c6 + 36ab43f commit a5d4551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/machine/wsl/machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ func provisionWSLDist(v *MachineVM) (string, error) {
}

// Fixes newuidmap
if err = wslInvoke(dist, "rpm", "-q", "--restore", "shadow-utils", "2>/dev/null"); err != nil {
if err = wslInvoke(dist, "rpm", "--restore", "shadow-utils"); err != nil {
return "", fmt.Errorf("package permissions restore of shadow-utils on guest OS failed: %w", err)
}

Expand Down

0 comments on commit a5d4551

Please sign in to comment.