diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-02-04 18:14:41 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-02-04 18:14:41 -0200 |
commit | 7b27b18bef4b529fc4aad42d47c861d1cc26b655 (patch) | |
tree | 2831974f9216122823202f754afcac21e8845d17 /usr/local/www/diag_smart.php | |
parent | 7b7ad7f62fe2946ce7521581aac2b2d8387254ad (diff) | |
download | pfsense-7b27b18bef4b529fc4aad42d47c861d1cc26b655.zip pfsense-7b27b18bef4b529fc4aad42d47c861d1cc26b655.tar.gz |
Fix some wrong escapeshellarg() calls
Diffstat (limited to 'usr/local/www/diag_smart.php')
-rw-r--r-- | usr/local/www/diag_smart.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_smart.php b/usr/local/www/diag_smart.php index 73f3405..d2309e6 100644 --- a/usr/local/www/diag_smart.php +++ b/usr/local/www/diag_smart.php @@ -85,7 +85,7 @@ function update_email($email) if(!empty($email)) { // Put it in the smartd.conf file - shell_exec("/usr/bin/sed -i old 's/^DEVICESCAN.*/DEVICESCAN -H -m " . escapeshellarg($email) . "/' /usr/local/etc/smartd.conf"); + shell_exec("/usr/bin/sed -i old 's/^DEVICESCAN.*/DEVICESCAN -H -m " . $email . "/' /usr/local/etc/smartd.conf"); } // Nope else |