瀏覽代碼

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;
 }