pub fn read_persisted_exit_code(box_dir: &Path) -> Option<i32>Expand description
Read the exit code persisted by guest-init from the active writable rootfs.
Rootfs providers expose /.a3s_exit_code at different host paths: the
overlay upper directory on Linux, the copied rootfs fallback, or the private
data directory inside the case-sensitive APFS mount on macOS.