aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_blocked.php
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-09-20 17:46:01 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2014-12-15 12:04:36 -0500
commitb1d0505eef8c0d30e20adb2d514f7f135acc5e9d (patch)
tree60985ac2e147213240d7caeab373394e148ea21d /config/suricata/suricata_blocked.php
parent0e9009d3aa39885e03b826a263e0fc2047e324a7 (diff)
downloadpfsense-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_blocked.php')
-rw-r--r--config/suricata/suricata_blocked.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/suricata/suricata_blocked.php b/config/suricata/suricata_blocked.php
index 842d4073..8f708a14 100644
--- a/config/suricata/suricata_blocked.php
+++ b/config/suricata/suricata_blocked.php
@@ -126,7 +126,7 @@ if ($_POST['download'])
// Clean up the temp files and directory
@unlink("/tmp/{$file_name}");
- exec("/bin/rm -fr /tmp/suricata_blocked");
+ rmdir_recursive("/tmp/suricata_blocked");
} else
$savemsg = gettext("An error occurred while creating archive");
} else