mirror of https://github.com/mikaku/Monitorix.git
Merge pull request #466 from ybltv/fix/nut-transfer-reason
nut.pm: Interpret input transfer reason as a string
This commit is contained in:
commit
49f0568ff0
|
@ -465,7 +465,7 @@ sub nut_cgi {
|
|||
$status = trim($1);
|
||||
next;
|
||||
}
|
||||
if(/^input\.transfer\.reason:\s+(\d+)$/) {
|
||||
if(/^input\.transfer\.reason:\s+(.*?)$/) {
|
||||
$transfer = trim($1);
|
||||
next;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue