diff options
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 |