]> git.ipfire.org Git - thirdparty/suricata-update.git/commit
Shorten the state of being written for rule files
authorShivani Bhardwaj <shivanib134@gmail.com>
Tue, 6 Nov 2018 17:33:43 +0000 (23:03 +0530)
committerShivani Bhardwaj <shivanib134@gmail.com>
Thu, 3 Sep 2020 15:51:33 +0000 (21:21 +0530)
commitf5d59e1e561b2983ac3c2b5d477c0d680db7dc4e
tree7927e528c31b9481c5eb8b413f1c7a7f8524ea83
parentd6a3007222c373782952e5056da5f0f509860c4a
Shorten the state of being written for rule files

In an attempt to have shorter window for rule files of being written,
write the rules at first to `<filename>.tmp` and then rename the file.

Closes Redmine ticket #2327
suricata/update/main.py