aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/snort-dev/snort.inc7
1 files changed, 2 insertions, 5 deletions
diff --git a/config/snort-dev/snort.inc b/config/snort-dev/snort.inc
index 028d45cb..7008d9b0 100644
--- a/config/snort-dev/snort.inc
+++ b/config/snort-dev/snort.inc
@@ -54,11 +54,6 @@ $snort_up_ck = exec("/bin/ps -auwx | /usr/bin/grep -v grep | /usr/bin/grep snort
if ($snort_up_ck == '')
{
- $snort_up == 'false';
- }
-
- if ($snort_up_ck == '')
- {
$snort_up = 'false';
}
@@ -76,6 +71,8 @@ $snort_up_ck = exec("/bin/ps -auwx | /usr/bin/grep -v grep | /usr/bin/grep snort
$snort_up = 'false';
}
return $snort_up;
+ }else{
+ return $snort_up;
}
}