Explorar el Código

Actually delete on error

Zachary Kotlarek hace 12 años
padre
commit
d3e29d75d6
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      transmission.pl

+ 0 - 1
transmission.pl

@@ -185,7 +185,6 @@ foreach my $tor (@{$torrents}) {
 			}
 		} elsif (defined($result) && $result == -1) {
 			print STDERR 'Deleting bad torrent: ' . $tor->{'name'} . "\n";
-			$failure = 1;
 			last;
 		} else {
 			print STDERR 'Error storing file "' . basename($file) . '" from torrent: ' . $tor->{'name'} . "\n";