Forráskód Böngészése

Simplify, now that $now exists

Zachary Kotlarek 12 éve
szülő
commit
576dd900b3
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      dmx/projectorPower.pl

+ 1 - 1
dmx/projectorPower.pl

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