Merge pull request #466 from ybltv/fix/nut-transfer-reason

nut.pm: Interpret input transfer reason as a string
This commit is contained in:
Jordi Sanfeliu Font 2024-04-09 12:11:51 +02:00 committed by GitHub
commit 49f0568ff0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}