Skip to content

Commit

Permalink
yoops
Browse files Browse the repository at this point in the history
  • Loading branch information
zackradisic committed Apr 14, 2024
1 parent 2d7aec0 commit c53b6a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shell/interpreter.zig
Original file line number Diff line number Diff line change
Expand Up @@ -4263,7 +4263,6 @@ pub const Interpreter = struct {
(if (this.stdout) |*stdout| stdout.closed() else true) and
(if (this.stderr) |*stderr| stderr.closed() else true);
log("BufferedIOClosed(0x{x}) all_closed={any} stdin={any} stdout={any} stderr={any}", .{ @intFromPtr(this), ret, if (this.stdin) |stdin| stdin else true, if (this.stdout) |*stdout| stdout.closed() else true, if (this.stderr) |*stderr| stderr.closed() else true });
std.debug.print("all_closed={any} stdin={any} stdout={any} stderr={any}\n", .{ ret, if (this.stdin) |stdin| stdin else true, if (this.stdout) |*stdout| stdout.closed() else true, if (this.stderr) |*stderr| stderr.closed() else true });
return ret;
}

Expand Down Expand Up @@ -4352,7 +4351,8 @@ pub const Interpreter = struct {
io: IO,
) *Cmd {
var cmd = interpreter.allocator.create(Cmd) catch |err| {
std.debug.print("Ruh roh: {any}\n", .{err});
_ = err; // autofix

@panic("Ruh roh");
};
cmd.* = .{
Expand Down

0 comments on commit c53b6a6

Please sign in to comment.