From 550dd2b0fceaeb2cf88e462517b6af96b642f92c Mon Sep 17 00:00:00 2001 From: bergware Date: Wed, 26 Jul 2017 10:04:22 +0200 Subject: [PATCH] Fixed remove linefeed from parity notification report --- plugins/dynamix/scripts/monitor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dynamix/scripts/monitor b/plugins/dynamix/scripts/monitor index 23c9e62a9..f923dbba0 100755 --- a/plugins/dynamix/scripts/monitor +++ b/plugins/dynamix/scripts/monitor @@ -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;