diff --git a/tools/anvil-change-password b/tools/anvil-change-password index f7c3b6d7e..7b7dc665e 100755 --- a/tools/anvil-change-password +++ b/tools/anvil-change-password @@ -703,12 +703,12 @@ sub update_passwords } # Update our anvil.conf and all the other machines in the cluster. - $anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => 1, 'print' => 1, key => "message_0027", variables => { file => $anvil->data->{switches}{'new-password'} }}); + $anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => 1, 'print' => 1, key => "message_0027", variables => { file => $anvil->data->{path}{configs}{'anvil.conf'} }}); $anvil->Storage->update_config({ debug => 2, secure => 1, variable => "database::${host_uuid}::password", - value => $anvil->data->{switches}{'new-password'}, + value => $anvil->data->{switches}{'new-password'}, }); $anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level => 1, 'print' => 1, key => "message_0025"});