diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2021-11-16 17:32:12 -0800 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2021-11-16 17:32:12 -0800 |
commit | 09c0a372823446d4559fc971d9a6128c89420b75 (patch) | |
tree | c0c54f11aec0f98b98385d8d985183c148057fc1 /src/cmd/rc/main.c | |
parent | d1caabb4cd9f283f8e21e742c42e1ceb454133dc (diff) |
checkin
Diffstat (limited to 'src/cmd/rc/main.c')
-rw-r--r-- | src/cmd/rc/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/rc/main.c b/src/cmd/rc/main.c index 0897352..81c7b8c 100644 --- a/src/cmd/rc/main.c +++ b/src/cmd/rc/main.c @@ -17,7 +17,7 @@ Shell shell = { 0 }; void initshell(void) { - if((shell.interactive=isatty(0))){ + if((shell.interactive=0)){ //isatty(0))){ while(tcgetpgrp(0) != (shell.pid = getpgrp())) kill(-shell.pid, SIGTTIN); |