diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-06 16:56:56 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-06 16:56:56 +0000 |
commit | e943be60578a2d1e0908ae64ad124e12f5de8973 (patch) | |
tree | a96e1724f90e386b34c1cfd067ce23e2f4a9043a /sh.c | |
parent | fd2b7b1ceb4d8bc1b6a9b446288c93e1fcff328e (diff) | |
download | busybox-w32-e943be60578a2d1e0908ae64ad124e12f5de8973.tar.gz busybox-w32-e943be60578a2d1e0908ae64ad124e12f5de8973.tar.bz2 busybox-w32-e943be60578a2d1e0908ae64ad124e12f5de8973.zip |
Had an extra tcsetpgrp.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@747 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'sh.c')
-rw-r--r-- | sh.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -1022,10 +1022,6 @@ static int busy_loop(FILE * input) | |||
1022 | 1022 | ||
1023 | /* return controlling TTY back to parent process group before exiting */ | 1023 | /* return controlling TTY back to parent process group before exiting */ |
1024 | if (tcsetpgrp(0, parent_pgrp)) | 1024 | if (tcsetpgrp(0, parent_pgrp)) |
1025 | perror("tcsetpgrp"); | ||
1026 | |||
1027 | /* return controlling TTY back to parent process group before exiting */ | ||
1028 | if (tcsetpgrp(0, parent_pgrp)) | ||
1029 | perror("tcsetpgrp"); | 1025 | perror("tcsetpgrp"); |
1030 | 1026 | ||
1031 | /* return exit status if called with "-c" */ | 1027 | /* return exit status if called with "-c" */ |