mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Merge remote branch 'origin/fastpath'
* origin/fastpath: Raise internal error when failing to read contents of state file with -x option I've changed this to use error() instead of internal_error(). The latter should only be used for logic errors that indicate a bug in Bro. In this case, the message flags a problem that's more likely to be external.
This commit is contained in:
commit
85f7d2e809
1 changed files with 2 additions and 1 deletions
|
@ -888,7 +888,8 @@ int main(int argc, char** argv)
|
|||
UnserialInfo info(&s);
|
||||
info.print = stdout;
|
||||
info.install_uniques = true;
|
||||
s.Read(&info, bst_file);
|
||||
if ( ! s.Read(&info, bst_file) )
|
||||
error("Failed to read events from %s\n", bst_file);
|
||||
}
|
||||
|
||||
exit(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue