spiegel_podman/cmd/podman/machine
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
..
os Error on WSL machine os apply|upgrade 2026-03-23 10:01:53 -05:00
client9p.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
cp.go machine: prepend LocalhostSSHArgs to args 2026-02-11 11:41:11 -08:00
info.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
init.go rename ErrRelaunchAttempt to ErrRelaunchSucceeded and fix elevated error handling 2026-04-03 18:37:24 +02:00
inspect.go Autocomplete machine fixes 2026-02-02 15:19:37 -06:00
list.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
machine.go run modernize -fix ./... 2026-03-12 17:22:01 +01:00
machine_unix.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
machine_unsupported.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
machine_windows.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
os.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
reset.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
rm.go rename ErrRelaunchAttempt to ErrRelaunchSucceeded and fix elevated error handling 2026-04-03 18:37:24 +02:00
server9p.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
set.go Reject --cpus above host CPU count on podman machine init and set 2026-03-23 18:22:14 +01:00
ssh.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
start.go Autocomplete machine fixes 2026-02-02 15:19:37 -06:00
stop.go Autocomplete machine fixes 2026-02-02 15:19:37 -06:00