diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2014-09-20 17:46:01 -0400 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2014-12-15 12:04:36 -0500 |
commit | b1d0505eef8c0d30e20adb2d514f7f135acc5e9d (patch) | |
tree | 60985ac2e147213240d7caeab373394e148ea21d /config/suricata/suricata_download_updates.php | |
parent | 0e9009d3aa39885e03b826a263e0fc2047e324a7 (diff) | |
download | pfsense-packages-b1d0505eef8c0d30e20adb2d514f7f135acc5e9d.tar.gz pfsense-packages-b1d0505eef8c0d30e20adb2d514f7f135acc5e9d.tar.bz2 pfsense-packages-b1d0505eef8c0d30e20adb2d514f7f135acc5e9d.zip |
Replace '/bin/rm' calls with rmdir_recursive() function.
Diffstat (limited to 'config/suricata/suricata_download_updates.php')
-rw-r--r-- | config/suricata/suricata_download_updates.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/suricata/suricata_download_updates.php b/config/suricata/suricata_download_updates.php index 2b8d6e3c..9426099f 100644 --- a/config/suricata/suricata_download_updates.php +++ b/config/suricata/suricata_download_updates.php @@ -116,7 +116,7 @@ if ($snortcommunityrules == 'on' && file_exists("{$suricatadir}{$snort_community /* Check for postback to see if we should clear the update log file. */ if ($_POST['clear']) { if (file_exists("{$suricata_rules_upd_log}")) - mwexec("/bin/rm -f {$suricata_rules_upd_log}"); + unlink_if_exists("{$suricata_rules_upd_log}"); } if ($_POST['update']) { |