Просмотр исходного кода

Simplify, now that $now exists

Zachary Kotlarek 12 лет назад
Родитель
Сommit
576dd900b3
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      dmx/projectorPower.pl

+ 1 - 1
dmx/projectorPower.pl

@@ -135,7 +135,7 @@ while (1) {
 			print STDERR "Recorded shutdown timestamp\n";
 		}
 		$shutdown = $now;
-		$lastUser = $shutdown;
+		$lastUser = $now;
 	}
 
 	# Calculate the elapsed time