Update src/Surface.zig

Co-authored-by: Gregory Anders <greg@gpanders.com>
pull/7752/head
Mitchell Hashimoto 2025-07-01 12:15:45 -07:00 committed by GitHub
parent 114c3f5665
commit fbdaea7456
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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 // On macOS, our exit code detection doesn't work, possibly
// because of our `login` wrapper. More investigation required. // because of our `login` wrapper. More investigation required.
if (comptime !builtin.target.os.tag.isDarwin()) { 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; if (info.exit_code == 0) break :runtime;
} }