commit 1a7e6d3e33649ee2ae21b86e276d33d5c3adb5f0
parent c6f4951004fd7e8125b94baacc892282b379791f
Author: Alexey Yerin <yyp@disroot.org>
Date: Fri, 25 Feb 2022 21:30:56 +0300
cmd/hare: don't close stderr
This caused any text written to stderr by programs executed with
`hare run` to be discarded.
Signed-off-by: Alexey Yerin <yyp@disroot.org>
Diffstat:
1 file changed, 0 insertions(+), 6 deletions(-)
diff --git a/cmd/hare/plan.ha b/cmd/hare/plan.ha
@@ -139,12 +139,6 @@ fn plan_finish(plan: *plan) void = {
for (let i = 0z; i < len(plan.modmap); i += 1) {
free(plan.modmap[i]);
};
-
- match (plan.progress.tty) {
- case let f: io::file =>
- io::close(f);
- case => void;
- };
};
fn plan_execute(plan: *plan, verbose: bool) (void | !exec::exit_status) = {