mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-17 06:23:00 +02:00
Download the requested rules tarball into a temporay file and if every thing is fine, replace the old by the downloaded one. In addition with the previously implemented file size check, we are saved now from a corrupt rules tarball on disk. Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>