diff options
author | Ermal <eri@pfsense.org> | 2012-07-02 18:20:39 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-07-02 18:20:39 +0000 |
commit | c69a1d154034b1d452859d4e8af5c4576c5d86c5 (patch) | |
tree | 4423fe5b0dfb1b20d0c6391d0310b2cfff00aec7 /config | |
parent | d8d8fbe52aebea02f9acd6bf50d9cd74534dd877 (diff) | |
download | pfsense-packages-c69a1d154034b1d452859d4e8af5c4576c5d86c5.tar.gz pfsense-packages-c69a1d154034b1d452859d4e8af5c4576c5d86c5.tar.bz2 pfsense-packages-c69a1d154034b1d452859d4e8af5c4576c5d86c5.zip |
Actually this check was/need to be = 0.
Diffstat (limited to 'config')
-rw-r--r-- | config/snort/snort.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc index 49df1adb..26993ff7 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 |