diff options
Diffstat (limited to 'snag/pkg_db.c')
| -rw-r--r-- | snag/pkg_db.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/snag/pkg_db.c b/snag/pkg_db.c index 032c089..a02fe93 100644 --- a/snag/pkg_db.c +++ b/snag/pkg_db.c @@ -62,7 +62,7 @@ bool load_package_info(char* pkgid, package_info_t* info) { if (pid == 0) { // child proc - // write my stdout to the pipe + // connect my stdout to the pipe close(pipefds[0]); dup2(pipefds[1], STDOUT_FILENO); close(pipefds[1]); @@ -121,7 +121,7 @@ void run_package_install(const package_info_t* info) { if (pid == 0) { // child proc - // write my stdout and stderr to the pipe + // connect my stdout and stderr to the pipe close(pipefds[0]); dup2(pipefds[1], STDOUT_FILENO); dup2(pipefds[1], STDERR_FILENO); |
