Explorar o código

It's party time when we're on lockdown

Zachary Kotlarek %!s(int64=9) %!d(string=hai) anos
pai
achega
3d3e275d3c
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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