Selaa lähdekoodia

Simplify, now that $now exists

Zachary Kotlarek 12 vuotta sitten
vanhempi
sitoutus
576dd900b3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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