spiegel_podman/pkg/machine/wsl
lstocchi a9a9eda883
rename ErrRelaunchAttempt to ErrRelaunchSucceeded and fix elevated error handling
The old ErrRelaunchAttempt name was ambiguous — it reads as though the
relaunch attempt failed, when it actually signals success. Rename to
ErrRelaunchSucceeded and update comments at every call site to clarify
that this is not a real error but a sentinel indicating the elevated
child process completed the operation successfully.

Also fix a bug in WSL's launchElevate where a failed elevated process
was incorrectly wrapped with the sentinel, causing callers to treat the
failure as success and print "Machine init complete."

Signed-off-by: lstocchi <lstocchi@redhat.com>
2026-04-03 18:37:24 +02:00
..
wutil Enforce wsl.exe UTF-8 encoded output 2025-07-02 20:18:52 +00:00
config.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
declares.go Fix: Rootless Podman-in-Podman on WSL 2026-02-27 10:52:14 +01:00
filelock.go fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00
machine.go rename ErrRelaunchAttempt to ErrRelaunchSucceeded and fix elevated error handling 2026-04-03 18:37:24 +02:00
machine_unsupported.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
stubber.go move HasAdminRights to windows pkg 2025-11-20 15:20:57 +01:00
usermodenet.go Replace FindExecutablePeer with FindHelperBinary 2025-11-26 14:52:32 +01:00
util_windows.go move wsl' util_windows to windows package so it can be reused by hyperv 2026-04-03 14:32:09 +02:00