richard pushed to branch main at The Tor Project / Applications / RBM

Commits:

1 changed file:

Changes:

  • lib/RBM.pm
    ... ... @@ -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);