Explorar el Código

Continue processing after a file store error -- we still return failure but will attempt to store each individual file instead of stopping after the first error

Zachary Kotlarek hace 9 años
padre
commit
8aa6f4feb6
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      transmission.pl

+ 1 - 2
transmission.pl

@@ -450,9 +450,8 @@ sub storeFiles($$$) {
 			}
 			last;
 		} else {
-			print STDERR 'Error storing file "' . basename($file) . '" from: ' . $name . "\n";
+			warn('Error storing file "' . basename($file) . '" from: ' . $name . "\n");
 			$failure = 1;
-			last;
 		}
 	}