Skip to content

Commit

Permalink
Do not try to restore what we didn't save earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
ribasushi authored and xdg committed May 23, 2016
1 parent 8e9957a commit 92998cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/12-stdin-string.t
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ if ( ! $no_fork ) {
}

is( next_fd, $fd, "no file descriptors leaked" );
restore_std(qw/stdout/);
restore_std(qw/stdin/);

exit 0;

0 comments on commit 92998cf

Please sign in to comment.