[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.4-156-g7e4680b

Shawn Moore sartak at bestpractical.com
Mon Oct 18 02:45:18 EDT 2010


The branch, 3.9-trunk has been updated
       via  7e4680b17a3d4924ca7e1311c94958951c3e2b0c (commit)
      from  cd6b6a76a4eb956046ad1ff9fbfc9f0aa720548c (commit)

Summary of changes:
 share/html/Install/Finish.html |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 7e4680b17a3d4924ca7e1311c94958951c3e2b0c
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Mon Oct 18 15:44:52 2010 +0900

    Warn when we can't set the root password

diff --git a/share/html/Install/Finish.html b/share/html/Install/Finish.html
index 26b5481..70e5763 100644
--- a/share/html/Install/Finish.html
+++ b/share/html/Install/Finish.html
@@ -84,7 +84,8 @@ if ( $Run ) {
                 'failed to make ' . RT::Installer->ConfigFile . ' readonly' );
     my $root = RT::User->new( RT->SystemUser );
     $root->Load('root');
-    $root->SetPassword( $RT::Installer->{InstallConfig}{Password} );
+    my ($ok, $val) = $root->SetPassword( $RT::Installer->{InstallConfig}{Password} );
+    $RT::Logger->warning("Unable to set root password: $val") if !$ok;
 
     RT::Interface::Web::Redirect(RT->Config->Get('WebURL'));
 }

-----------------------------------------------------------------------


More information about the Rt-commit mailing list