Skip to content

Commit

Permalink
reproc: Add missing calls to error_unify.
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanDeMeyer committed Mar 28, 2020
1 parent 242611d commit 8a46b55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion reproc/src/pipe.posix.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ int pipe_wait(pipe_set *sets, size_t num_sets, int timeout)
finish:
free(pollfds);

return r;
return error_unify(r);
}

int pipe_destroy(int pipe)
Expand Down
2 changes: 1 addition & 1 deletion reproc/src/pipe.win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ int pipe_wait(pipe_set *sets, size_t num_sets, int timeout)
finish:
free(pollfds);

return r;
return error_unify(r);
}

SOCKET pipe_destroy(SOCKET pipe)
Expand Down

0 comments on commit 8a46b55

Please sign in to comment.