diff options
author | jim-p <jimp@pfsense.org> | 2017-04-03 14:49:54 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2017-04-03 14:49:54 -0400 |
commit | a81de913e52440c09fa4c7efb8a0a3e8b809e1c8 (patch) | |
tree | d7d8a319de5e2aea4d6138a4ae8b1133395c6e61 /src/usr/local/www | |
parent | a0ef971406f95bd62af01e13997bbc09da580008 (diff) | |
parent | 9bfb115b797cdb4febb56e2134f2c8f98a2a8bcd (diff) | |
download | pfsense-a81de913e52440c09fa4c7efb8a0a3e8b809e1c8.zip pfsense-a81de913e52440c09fa4c7efb8a0a3e8b809e1c8.tar.gz |
Merge pull request #3613 from doktornotor/patch-15
Diffstat (limited to 'src/usr/local/www')
-rw-r--r-- | src/usr/local/www/diag_smart.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_smart.php b/src/usr/local/www/diag_smart.php index 22f6062..8cf5d45 100644 --- a/src/usr/local/www/diag_smart.php +++ b/src/usr/local/www/diag_smart.php @@ -268,7 +268,6 @@ switch ($action) { $config['system']['smartmonemail'] = $_POST['smartmonemail']; write_config(); $retval = 0; - config_lock(); if (stristr($retval, "error") != true) { $savemsg = get_std_save_message($retval); $style = 'success'; @@ -276,7 +275,6 @@ switch ($action) { $savemsg = $retval; $style='danger'; } - config_unlock(); // Write the changes to the smartd.conf file update_email($_POST['smartmonemail']); // Send sig HUP to smartd, rereads the config file |