mirror of https://github.com/mikaku/Monitorix.git
Interpret input transfer reason as a string
This commit is contained in:
parent
7404e43597
commit
313fe995a2
|
@ -465,7 +465,7 @@ sub nut_cgi {
|
||||||
$status = trim($1);
|
$status = trim($1);
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
if(/^input\.transfer\.reason:\s+(\d+)$/) {
|
if(/^input\.transfer\.reason:\s+(.*?)$/) {
|
||||||
$transfer = trim($1);
|
$transfer = trim($1);
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue