From 0ab4b26147a0c597b66b744e733f2d85367288fa Mon Sep 17 00:00:00 2001 From: "Jason T. Greene" Date: Thu, 2 Mar 2023 20:53:38 -0600 Subject: [PATCH] Fix package restore Signed-off-by: Jason T. Greene --- pkg/machine/wsl/machine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/machine/wsl/machine.go b/pkg/machine/wsl/machine.go index dfe04c7c2d..07a2bde9bd 100644 --- a/pkg/machine/wsl/machine.go +++ b/pkg/machine/wsl/machine.go @@ -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) }