mirror of
https://github.com/containers/podman.git
synced 2025-08-26 20:20:16 +08:00
Improve cross platform support in QEMU machine sources
Signed-off-by: Arthur Sengileyev <arthur.sengileyev@gmail.com>
This commit is contained in:
@ -22,7 +22,7 @@ func checkProcessStatus(processHint string, pid int, stderrBuf *bytes.Buffer) er
|
||||
var status syscall.WaitStatus
|
||||
pid, err := syscall.Wait4(pid, &status, syscall.WNOHANG, nil)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to read qem%su process status: %w", processHint, err)
|
||||
return fmt.Errorf("failed to read %s process status: %w", processHint, err)
|
||||
}
|
||||
if pid > 0 {
|
||||
// child exited
|
||||
|
Reference in New Issue
Block a user