scripts.c: improve pty read error handling
modified libpkg/scripts.c
@@ -284,7 +284,6 @@ pkg_script_run_child(int pid, int *pstat, int inputfd, const char* script_name)
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -317,9 +316,12 @@ pkg_script_run_child(int pid, int *pstat, int inputfd, const char* script_name)
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|