浏览代码

It's party time when we're on lockdown

Zachary Kotlarek 9 年之前
父节点
当前提交
3d3e275d3c
共有 1 个文件被更改,包括 2 次插入 和 0 次删除
  1. 2 0
      dmx/oil.pl

+ 2 - 0
dmx/oil.pl

@@ -91,6 +91,8 @@ while (1) {
 	my $enable = 0;
 	if ($exists{'OIL_ENABLE'} && $mtime{'OIL_ENABLE'} > $now - $ENABLE_TIMEOUT) {
 		$enable = 1;
+	} elsif ($exists{'LOCK'}) {
+		$enable = 1;
 	}
 
 	# Calculate the new state