Skip to content

Commit 49f0568

Browse files
authored
Merge pull request #466 from ybltv/fix/nut-transfer-reason
nut.pm: Interpret input transfer reason as a string
2 parents 7404e43 + 313fe99 commit 49f0568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/nut.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ sub nut_cgi {
465465
$status = trim($1);
466466
next;
467467
}
468-
if(/^input\.transfer\.reason:\s+(\d+)$/) {
468+
if(/^input\.transfer\.reason:\s+(.*?)$/) {
469469
$transfer = trim($1);
470470
next;
471471
}

0 commit comments

Comments
 (0)