ソースを参照

It is a whole string

Zachary Kotlarek 10 年 前
親
コミット
d10e1feec7
1 ファイル変更、1 行追加、1 行削除
  1. 1 1
      rss.pl

+ 1 - 1
rss.pl

@@ -348,7 +348,7 @@ foreach my $time (sort(@need)) {
 
 	# Cleanup
 	if (defined($err)) {
-		if ($DEBUG || ($err ne '403' && $err ne '404')) {
+		if ($DEBUG || ! ($err =~ /\b40[34]$/)) {
 			print STDERR 'Unable to download ' . $ep->{'url'} . ': ' . $err . "\n";
 		}
 		if (-e $file) {