Explorar o código

Ignore the "available" state of all forms of EXISTS files -- they are naturally transient

Zachary Kotlarek %!s(int64=13) %!d(string=hai) anos
pai
achega
1bd8f145bc
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      dmx/state.pl

+ 2 - 1
dmx/state.pl

@@ -234,7 +234,8 @@ while (1) {
 		$file->{'status'} = 0;
 
 		# Track available/unavailable files
-		{
+		if (!$file->{'type'} =~ /^EXISTS/) {
+
 			my $wasAvailable = $file->{'available'};
 			$file->{'available'} = -r $file->{'path'} ? 1 : 0;
 			if ($wasAvailable != $file->{'available'}) {