]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit - html/cgi-bin/ids.cgi
ids.cgi: Remove newly added provider if the rules could not be
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 26 Mar 2022 11:26:35 +0000 (12:26 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 26 Mar 2022 11:26:35 +0000 (12:26 +0100)
commitfa7663a1b594dcfd4bf542eb34a0869d5280e38f
tree6e3539255d83ebaa47f3a8766dc49e5cab480aad
parent81144407528319a53fd0e8ea6852158c56ab7612
ids.cgi: Remove newly added provider if the rules could not be
downloaded.

When adding a new provider and in case the rules file or tarball can not
be downloaded, the provider remains as configured.

To avoid that, the provider needs to be removed again.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/ids.cgi