Suppress error if temporary file deletion failed in parity settings

This commit is contained in:
bergware
2016-10-04 08:14:46 +02:00
parent edfaa6524d
commit e5711fcdac
+1 -1
View File
@@ -52,7 +52,7 @@ if (isset($_POST['#apply'])) {
$cron = "# Generated parity check schedule:\n$time $dotm $month $day $term/usr/local/sbin/mdcmd check $write &> /dev/null\n\n";
}
parse_cron_cfg("dynamix", "parity-check", $cron);
unlink($memory);
@unlink($memory);
} else {
file_put_contents($memory, http_build_query($_POST));
$save = false;