richard pushed to branch main at The Tor Project / Applications / RBM
Commits:
-
f40e2236
by Nicolas Vigier at 2023-07-19T12:25:47+02:00
1 changed file:
Changes:
... | ... | @@ -802,6 +802,7 @@ sub input_file_need_dl { |
802 | 802 | |
803 | 803 | sub input_file_id_hash {
|
804 | 804 | my ($fname, $filename) = @_;
|
805 | + exit_error "input_file_id: file $filename is missing" unless $fname;
|
|
805 | 806 | return $filename . ':' . sha256file($fname) if -f $fname;
|
806 | 807 | return $filename . ':' . sha256file(readlink $fname) if -l $fname;
|
807 | 808 | my @subdirs = sort(map { $_->basename } path($fname)->children);
|