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/f40e22360457a2d0...
tbb-commits@lists.torproject.org