Skip to content

Commit

Permalink
Correct missing parametr
Browse files Browse the repository at this point in the history
  • Loading branch information
Ermal committed Jan 24, 2013
1 parent d65ba9f commit d5726cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/snort/snort_check_for_rule_updates.php
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ function snort_apply_customizations($snortcfg, $if_real) {
/* rule category files if we have any. */
if (!empty($snortcfg['rulesets'])) {
foreach (explode("||", $snortcfg['rulesets']) as $file) {
if (file_exists())
if (file_exists($file))
$enabled_files[] = "{$snortdir}/rules/" . $file;
}

Expand Down

0 comments on commit d5726cd

Please sign in to comment.