Rename unknown parttype to "unknown"

pull/6956/head
cvium 3 years ago
parent 681bfbd535
commit 6d6fb1bba3

@ -41,7 +41,7 @@ public class FileStackRule
return false; return false;
} }
var partType = match.Groups["parttype"].Success ? match.Groups["parttype"].Value : "vol"; var partType = match.Groups["parttype"].Success ? match.Groups["parttype"].Value : "unknown";
result = (match.Groups["filename"].Value, partType, match.Groups["number"].Value); result = (match.Groups["filename"].Value, partType, match.Groups["number"].Value);
return true; return true;
} }

Loading…
Cancel
Save