Fixed typo that broke compilation.

Signed-off-by: digimer <digimer@gravitar.alteeve.com>
main
digimer 2 years ago
parent 17863404e3
commit 985338a064
  1. 2
      Anvil/Tools/Database.pm
  2. 2
      tools/anvil-manage-dr

@ -17758,7 +17758,7 @@ sub _age_out_data
my $age = time - $last_age_out; my $age = time - $last_age_out;
$anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => $debug, list => { age => $age }}); $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => $debug, list => { age => $age }});
next of $age < 86400; next if $age < 86400;
} }
} }

@ -93,7 +93,7 @@ sub sanity_check
host_type => $host_type, host_type => $host_type,
anvil_uuid => $anvil_uuid, anvil_uuid => $anvil_uuid,
}}); }});
# If we're (dis}connecting, is the server being protected in the first place? # If we're (dis}connecting, is the server being protected in the first place?
if (($anvil->data->{switches}{'connect'}) or ($anvil->data->{switches}{'disconnect'})) if (($anvil->data->{switches}{'connect'}) or ($anvil->data->{switches}{'disconnect'}))
{ {

Loading…
Cancel
Save