Change parity sync notification to notice level

No longer reported as error, but informational instead
This commit is contained in:
bergware
2022-03-13 11:47:31 +01:00
parent 7b8f99ba09
commit 924d14bade
+1 -1
View File
@@ -169,7 +169,7 @@ foreach ($disks as $disk) {
if ($warn!=$last) {
if ($var['fsState']!='Stopped') {
$status = $name=='parity' ? "parity-sync in progress" : "drive not ready, content being reconstructed";
exec("$notify -l '/Main' -e ".escapeshellarg("Unraid $text error")." -s ".escapeshellarg("Warning [$server] - $text, $status")." -d ".escapeshellarg("$info")." -i \"warning\" 2>/dev/null");
exec("$notify -l '/Main' -e ".escapeshellarg("Unraid $text message")." -s ".escapeshellarg("Notice [$server] - $text, $status")." -d ".escapeshellarg("$info")." 2>/dev/null");
}
$saved[$item][$name] = $warn;
}