mirror of
https://github.com/containers/podman.git
synced 2025-06-25 03:52:15 +08:00
Fix package restore
Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
This commit is contained in:
@ -513,7 +513,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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user