Skip to content

Commit

Permalink
Show stderr of children
Browse files Browse the repository at this point in the history
  • Loading branch information
dasJ committed Nov 9, 2017
1 parent 8c6deb0 commit 3517647
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/zfs-util.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ int execute(char *command, char needOutput, char **output, char *param[]) {
if (pid == 0) {
// Set up pipe
close(1);
close(2);
if (needOutput == 1) {
close(pip[0]);
fd = dup(pip[1]);
Expand Down

0 comments on commit 3517647

Please sign in to comment.