Merge pull request #150 from bergware/6.4-wip

Fixed remove linefeed from parity notification report
This commit is contained in:
tom mortensen
2017-07-26 14:57:22 -07:00
committed by GitHub

View File

@@ -83,7 +83,7 @@ function read_write_parity_log($epoch,$duration,$speed,$status,$error) {
$line = "$year $timestamp|$duration|$speed|$status|$error";
if ($status==0||file_exists($log)) file_put_contents($log,"$line\n",FILE_APPEND);
}
return $line;
return str_replace("\n","",$line);
}
function check_temp($name,$temp,$text,$info) {
global $notify,$disks,$saved,$unraid,$server;