Skip to content

Commit 86fa070

Browse files
committed
save stderr to file in case it is useful
1 parent d26eb23 commit 86fa070

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/TESTonce

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ if ($^O eq 'MSWin32') {
3030
else {
3131
# we used to do this as a nice pipeline, but the problem is that $r fails to
3232
# to be set properly if the tcpdump core dumps.
33-
$r = system "$TCPDUMP 2>/dev/null -# -n -r $input $options >NEW/$outputbase";
33+
$r = system "$TCPDUMP 2>NEW/$outputbase.stderr -# -n -r $input $options >NEW/$outputbase";
3434
if($r != 0) {
3535
my $coredump = false;
3636
my $status = 0;

0 commit comments

Comments
 (0)