Skip to content

Commit

Permalink
Merge pull request #466 from ybltv/fix/nut-transfer-reason
Browse files Browse the repository at this point in the history
nut.pm: Interpret input transfer reason as a string
  • Loading branch information
mikaku authored Apr 9, 2024
2 parents 7404e43 + 313fe99 commit 49f0568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nut.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 49f0568

Please sign in to comment.