don't remove download dir without username
[cloudstore.git] / gearman / transmission.pl
index 1d7d729..8e98399 100755 (executable)
@@ -109,6 +109,7 @@ $worker->register_function( $name . '_torrent_download_done' => sub {
 
        } else {
                warn "ERROR: can't find user in $dir for $name\n";
+               return;
        }
 
        warn "# $id removed $dir $name $hash\n";