Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create new events.csv file handle on file rename #174

Open
int00h5525 opened this issue Oct 28, 2021 · 0 comments
Open

Create new events.csv file handle on file rename #174

int00h5525 opened this issue Oct 28, 2021 · 0 comments
Labels

Comments

@int00h5525
Copy link
Contributor

Description

When events.csv is renamed, MOTHd will keep writing to the old file handle, using the new name, instead of recreating events.csv and starting to write to it.

Steps to Reproduce

  1. Start a MOTH instance
  2. Rename events.csv to events.csv.bak (cp events.csv events.csv.bak)

Expected behavior:

MOTH creates a new events.csv file and begins writing to it.

Actual behavior:

MOTH continues writing to events.csv.bak, and does not create a new events.csv

Reproduces how often:

100%

Versions

Additional Information

@int00h5525 int00h5525 added the bug label Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant