瀏覽代碼

Simplify, now that $now exists

Zachary Kotlarek 12 年之前
父節點
當前提交
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