diff options
author | Ermal <eri@pfsense.org> | 2012-07-22 12:44:08 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-07-22 12:44:08 +0000 |
commit | ec5d0dab7ee4f17331d1f4103b34ddad51245ea5 (patch) | |
tree | 03e4bdc987b56cd8e27d7122b93aea5e2a0c36ef /config | |
parent | 30a4ccf0d0a6a0a46e93a0eb1e754d97ba68285c (diff) | |
download | pfsense-packages-ec5d0dab7ee4f17331d1f4103b34ddad51245ea5.tar.gz pfsense-packages-ec5d0dab7ee4f17331d1f4103b34ddad51245ea5.tar.bz2 pfsense-packages-ec5d0dab7ee4f17331d1f4103b34ddad51245ea5.zip |
-e is wrong here
Diffstat (limited to 'config')
-rw-r--r-- | config/snort/snort.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc index a1d5a1de..d29833a2 100644 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -1305,8 +1305,8 @@ EOD; if (file_exists("{$snortcfgdir}/preproc_rules/decoder.rules") && file_exists("{$snortcfgdir}/preproc_rules/preprocessor.rules")) { @file_put_contents("{$g['tmp_path']}/sedcmd", $sedcmd); - mwexec("/usr/bin/sed -I '' -e -f {$g['tmp_path']}/sedcmd {$snortcfgdir}/preproc_rules/preprocessor.rules"); - mwexec("/usr/bin/sed -I '' -e -f {$g['tmp_path']}/sedcmd {$snortcfgdir}/preproc_rules/decoder.rules"); + mwexec("/usr/bin/sed -I '' -f {$g['tmp_path']}/sedcmd {$snortcfgdir}/preproc_rules/preprocessor.rules"); + mwexec("/usr/bin/sed -I '' -f {$g['tmp_path']}/sedcmd {$snortcfgdir}/preproc_rules/decoder.rules"); @unlink("{$g['tmp_path']}/sedcmd"); $snort_misc_include_rules .= "include \$PREPROC_RULE_PATH/decoder.rules\n"; |