Fixed remove linefeed from parity notification report

This commit is contained in:
bergware
2017-07-26 10:04:22 +02:00
parent 444646ae79
commit 550dd2b0fc
+1 -1
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;