richard pushed to branch main at The Tor Project / Applications / RBM
Commits:
f40e2236 by Nicolas Vigier at 2023-07-19T12:25:47+02:00
Bug 40056: Improve error message when input file is missing
- - - - -
1 changed file:
- lib/RBM.pm
Changes:
=====================================
lib/RBM.pm
=====================================
@@ -802,6 +802,7 @@ sub input_file_need_dl {
sub input_file_id_hash {
my ($fname, $filename) = @_;
+ exit_error "input_file_id: file $filename is missing" unless $fname;
return $filename . ':' . sha256file($fname) if -f $fname;
return $filename . ':' . sha256file(readlink $fname) if -l $fname;
my @subdirs = sort(map { $_->basename } path($fname)->children);
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/rbm/-/commit/f40e22360457a2d04b372fee22d89b764ec76c6b
--
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/rbm/-/commit/f40e22360457a2d04b372fee22d89b764ec76c6b
You're receiving this email because of your account on gitlab.torproject.org.
_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits