From f479764b34f997d27f591ddeb93d785f899534bb Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 6 Sep 2018 10:39:45 +0100 Subject: 43396: Job control debug. Particularly for TTY ownership. --- Src/builtin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/builtin.c') diff --git a/Src/builtin.c b/Src/builtin.c index 4abc7da35..132ee6a1b 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -6131,7 +6131,7 @@ bin_read(char *name, char **args, Options ops, UNUSED(int func)) if (unset(INTERACTIVE)) gettyinfo(&shttyinfo); /* attach to the tty */ - attachtty(mypgrp); + ATTACHTTY(mypgrp, 1); if (!isem) setcbreak(); readfd = SHTTY; -- cgit 1.4.1