aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/snort/snort.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index e3b0388b..7c27991a 100644
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -891,7 +891,7 @@ EOE;
$start_snort_iface_stop[] = <<<EOF
-if [ "`/bin/pgrep -nF {$g['varrun_path']}/snort_{$if_real}{$snort_uuid}.pid`" = "0" ]; then
+if [ "`/bin/pgrep -nF {$g['varrun_path']}/snort_{$if_real}{$snort_uuid}.pid`" != "0" ]; then
/usr/bin/logger -p daemon.info -i -t SnortStartup "Snort HARD STOP For {$snort_uuid}_{$if_real}..."
/bin/pkill -F {$g['varrun_path']}/snort_{$if_real}{$snort_uuid}.pid -a