From b0b7697dea7da93a261d6eeb8bf7562a4884bc5a Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 1 Jul 2010 00:12:16 +0000 Subject: From Petr Lautrbach: when capturing, return the exit status of dumpcap, so we give a non-zero exit status for invalid interfaces or capture filters. From me: don't exit immediately if dumpcap failed, print out information from taps and the like. svn path=/trunk/; revision=33393 --- capture_opts.h | 1 + 1 file changed, 1 insertion(+) (limited to 'capture_opts.h') diff --git a/capture_opts.h b/capture_opts.h index 34709fce04..ed287df9a1 100644 --- a/capture_opts.h +++ b/capture_opts.h @@ -151,6 +151,7 @@ typedef struct capture_options_tag { /* internally used (don't touch from outside) */ int fork_child; /**< If not -1, in parent, process ID of child */ + int fork_child_status; /**< Child exit status */ #ifdef _WIN32 int signal_pipe_write_fd; /**< the pipe to signal the child */ #endif -- cgit v1.2.1