aboutsummaryrefslogtreecommitdiffstats
path: root/packages/snort/snort.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/snort/snort.inc')
-rw-r--r--packages/snort/snort.inc9
1 files changed, 4 insertions, 5 deletions
diff --git a/packages/snort/snort.inc b/packages/snort/snort.inc
index 432447a1..3fd8318f 100644
--- a/packages/snort/snort.inc
+++ b/packages/snort/snort.inc
@@ -92,11 +92,10 @@ function sync_package_snort() {
$first = 1;
}
}
- }
-
- if(!$ifaces_final) {
- log_error("Snort will not start. You must select an interface for it to listen on.");
- return;
+ if(!$ifaces_final) {
+ log_error("Snort will not start. You must select an interface for it to listen on.");
+ return;
+ }
}
/* create log directory */