Zachary Kotlarek 14 лет назад
Родитель
Сommit
bee2f4a97b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      projector/off.pl

+ 1 - 1
projector/off.pl

@@ -113,7 +113,7 @@ while (1) {
 		$timeLeft = ceil($timeLeft / 60);
 		$timeLeft = ceil($timeLeft / 60);
 
 
 		my $plural = 's';
 		my $plural = 's';
-		if ($timeLeft != 1) {
+		if ($timeLeft == 1) {
 			$plural = '';
 			$plural = '';
 		}
 		}
 		system('say', 'Projector powerdown in about ' . $timeLeft . ' minute' . $plural);
 		system('say', 'Projector powerdown in about ' . $timeLeft . ' minute' . $plural);