convert-ids-backend-files: Wait until suricata has stopped sucessfully.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl
2022-04-25 20:12:19 +02:00
parent adce5b1c8f
commit 249d796b4b

View File

@@ -58,6 +58,9 @@ if(&IDS::ids_is_running()) {
# Set start_suricata to true to start it
# at the end of the script again.
$start_suricata = "1";
# Wait until suricata has stopped.
sleep 1 while (-f $IDS::idspidfile);
}
#