From 8f375c58a932e11af9aac8b419f1d7685980d2cf Mon Sep 17 00:00:00 2001 From: digimer Date: Thu, 4 May 2023 11:14:23 -0400 Subject: [PATCH] * Fixed a typo in anvil-daemon that prevented compiling. Signed-off-by: digimer --- tools/anvil-daemon | 2 +- tools/striker-prep-database | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/anvil-daemon b/tools/anvil-daemon index f7af9765..c2cec9ec 100755 --- a/tools/anvil-daemon +++ b/tools/anvil-daemon @@ -545,7 +545,7 @@ sub handle_periodic_tasks update_state_file($anvil); # Check shared files. - check_files($anvils); + check_files($anvil); # Check mail server config. my $problem = $anvil->Email->check_config({debug => 3}); diff --git a/tools/striker-prep-database b/tools/striker-prep-database index f049ec5b..f39db754 100755 --- a/tools/striker-prep-database +++ b/tools/striker-prep-database @@ -462,7 +462,7 @@ if ($local_uuid) # In some cases, the database won't allow connections to the admin user. To deal with this, we'll # call stop->start on the daemon (reload doesn't fix it). - my $return_code = $anvil->System->stop_daemon({daemon => "postgresql"}); + $return_code = $anvil->System->stop_daemon({daemon => "postgresql"}); $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => { return_code => $return_code }}); $return_code = $anvil->System->start_daemon({daemon => "postgresql"});