]> git.ipfire.org Git - ipfire-2.x.git/commit
convert-snort: Fix logic for detecting enough free disk space.
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 8 Apr 2019 18:02:53 +0000 (20:02 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 8 Apr 2019 20:15:35 +0000 (21:15 +0100)
commite4bc9b8b6fa0cc0d67d2f698e2bdd5d41af49f05
tree1b319124e99b404a2029d6a936a2b29a915ac2c4
parentee53381ab167b195d2d4d94da3d2a3d4a024288d
convert-snort: Fix logic for detecting enough free disk space.

The subfunction only will return something if the check fails - so the logic
of the if statement was wrong set and the downloader only was called if
this check failed and to less diskspace would be available.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/suricata/convert-snort