Skip to content

Commit

Permalink
work in progress for zeek- and suricata- live capture (idaholab#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Jul 27, 2022
1 parent b6c99f9 commit 35da23a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def checkFile(filename, filebeatReg=None, checkLogs=True, checkArchives=True):
if (cleanSeconds > 0) and (lastUseTime >= cleanSeconds):
# this is a closed file that is old, so delete it
print('removing old file "{}" ({}, used {} seconds ago)'.format(filename, fileType, lastUseTime))
silentRemove(file)
silentRemove(filename)


def pruneFiles():
Expand Down

0 comments on commit 35da23a

Please sign in to comment.