aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort-dev/snort.inc
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2010-03-16 21:19:05 -0700
committerrobiscool <robrob2626@yahoo.com>2010-03-16 21:19:05 -0700
commit0a744a91d045469839e80e566c5cfad4eebe01c7 (patch)
tree03574816aeb1aeafc01f731c31f3cfe681607ca8 /config/snort-dev/snort.inc
parent7f8683ed7d2c2720c72dae12d7102d9a766b2cef (diff)
downloadpfsense-packages-0a744a91d045469839e80e566c5cfad4eebe01c7.tar.gz
pfsense-packages-0a744a91d045469839e80e566c5cfad4eebe01c7.tar.bz2
pfsense-packages-0a744a91d045469839e80e566c5cfad4eebe01c7.zip
snort-dev, update snort.inc proc check
Diffstat (limited to 'config/snort-dev/snort.inc')
-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;
}
}