diff options
Diffstat (limited to 'Src/jobs.c')
-rw-r--r-- | Src/jobs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/jobs.c b/Src/jobs.c index 9b7b053ee..a3cf4711b 100644 --- a/Src/jobs.c +++ b/Src/jobs.c @@ -2398,7 +2398,7 @@ acquire_pgrp(void) if (mypgrp == gettygrp()) break; signal_setmask(oldset); - read(0, NULL, 0); /* Might generate SIGT* */ + if (read(0, NULL, 0) != 0) {} /* Might generate SIGT* */ signal_block(blockset); mypgrp = GETPGRP(); } |