Update src/Surface.zig

Co-authored-by: Gregory Anders <greg@gpanders.com>
This commit is contained in:
Mitchell Hashimoto
2025-07-01 12:15:45 -07:00
committed by GitHub
parent 114c3f5665
commit fbdaea7456

View File

@@ -1003,7 +1003,7 @@ fn childExited(self: *Surface, info: apprt.surface.Message.ChildExited) void {
// On macOS, our exit code detection doesn't work, possibly
// because of our `login` wrapper. More investigation required.
if (comptime !builtin.target.os.tag.isDarwin()) {
// If the exit code is 0 then we it was a good exit.
// If the exit code is 0 then it was a good exit.
if (info.exit_code == 0) break :runtime;
}