forked from osmocom/wireshark
tshark: Respect -Q option
Suppress non-error messages when -Q is set. Fixes: #18186
This commit is contained in:
parent
b91079d3a6
commit
58b29b8f74
8
tshark.c
8
tshark.c
|
@ -2831,10 +2831,12 @@ capture_input_new_file(capture_session *cap_session, gchar *new_file)
|
|||
gboolean is_tempfile;
|
||||
int err;
|
||||
|
||||
if (cap_session->state == CAPTURE_PREPARING) {
|
||||
ws_message("Capture started.");
|
||||
if (really_quiet == FALSE) {
|
||||
if (cap_session->state == CAPTURE_PREPARING) {
|
||||
ws_message("Capture started.");
|
||||
}
|
||||
ws_message("File: \"%s\"", new_file);
|
||||
}
|
||||
ws_message("File: \"%s\"", new_file);
|
||||
|
||||
ws_assert(cap_session->state == CAPTURE_PREPARING || cap_session->state == CAPTURE_RUNNING);
|
||||
|
||||
|
|
Loading…
Reference in New Issue