aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-09-19 17:17:40 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2014-09-19 17:17:40 -0400
commit059ff30969b6b03fcbfa240e516382f3ab340711 (patch)
tree3a0d2659b1805b1ccb0ae7fd1d66ac3b13275093
parent3db7538653b56792b97c59fd4533aebf86058b99 (diff)
downloadpfsense-packages-059ff30969b6b03fcbfa240e516382f3ab340711.tar.gz
pfsense-packages-059ff30969b6b03fcbfa240e516382f3ab340711.tar.bz2
pfsense-packages-059ff30969b6b03fcbfa240e516382f3ab340711.zip
Add missing parenthesis in if() statement.
-rw-r--r--config/snort/snort_service_utils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort_service_utils.php b/config/snort/snort_service_utils.php
index a40260d3..04f1c139 100644
--- a/config/snort/snort_service_utils.php
+++ b/config/snort/snort_service_utils.php
@@ -66,7 +66,7 @@ foreach ($config['installedpackages']['snortglobal']['rule'] as $rule) {
$if_real = get_real_interface($rule['interface']);
// Block changes when package is being started from shell script
- if (file_exists("{$g['varrun_path']}/snort_pkg_starting.lck") {
+ if (file_exists("{$g['varrun_path']}/snort_pkg_starting.lck")) {
log_error(gettext("[Snort] interface service start/stop commands locked-out during package start/restart."));
return TRUE;
}