diff options
-rw-r--r-- | lash.c | 4 | ||||
-rw-r--r-- | sh.c | 4 | ||||
-rw-r--r-- | shell/lash.c | 4 |
3 files changed, 0 insertions, 12 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" */ |
@@ -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" */ |
diff --git a/shell/lash.c b/shell/lash.c index 2d6bfb526..7203ba38f 100644 --- a/shell/lash.c +++ b/shell/lash.c | |||
@@ -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" */ |