# std.ChildProcess: fix max_output_bytes handling · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/8078d8cd3fb989b0c7a26adde0ee2486e1f473f8)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 8078d8cd3fb989b0c7a26adde0ee2486e1f473f8

Requested commit: 8078d8cd3fb989b0c7a26adde0ee2486e1f473f8

Commit: 8078d8cd3fb989b0c7a26adde0ee2486e1f473f8

Tree: 1c0434306f2edeab4e83e908c3b3f678ffd7f8eb

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.ChildProcess: fix max_output_bytes handling

The previous logic had a false positive of returning an error when in
fact the maximum number of output bytes had not been exceeded.

```

## Parents

- [0b46c27333960553226abd4cc7aed10e07a14b06](https://git.cafe/gitcafe/zig/commit/0b46c27333960553226abd4cc7aed10e07a14b06?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/8078d8cd3fb989b0c7a26adde0ee2486e1f473f8?format=markdown)
