소스 검색

Quiet in normal operation

Zachary Kotlarek 9 년 전
부모
커밋
658048d87b
1개의 변경된 파일과 3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      transmission.pl

+ 3 - 1
transmission.pl

@@ -65,7 +65,9 @@ if ($ENV{'DEBUG'}) {
 }
 my $DELETE = 0;
 if ($ENV{'DELETE'}) {
-	print STDERR "Failure mode: DELETE\n";
+	if ($DEBUG) {
+		print STDERR "Failure mode: DELETE\n";
+	}
 	$DELETE = 1;
 }