Skip to content

Commit

Permalink
Added dialog detail for DH parameter file
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
nuxwin committed Mar 6, 2016
1 parent 2616d2a commit ecd1d5d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions engine/PerlLib/Servers/po/courier/installer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ use iMSCP::Rights;
use iMSCP::File;
use iMSCP::Dir;
use iMSCP::Execute;
use iMSCP::Stepper;
use iMSCP::TemplateParser;
use iMSCP::ProgramFinder;
use File::Basename;
Expand Down Expand Up @@ -798,8 +799,15 @@ sub _buildDHparametersFile
return $rs if $rs;
}

my $rs = execute('DH_BITS=2048 mkdhparams', \my $stdout, \my $stderr);
error($stderr) if $stderr && $rs;
startDetail();
my $rs = step(
sub {
my $rs = execute('DH_BITS=2048 mkdhparams', \my $stdout, \my $stderr);
error($stderr) if $stderr && $rs;
$rs;
}, 'Generating DH parameter file. Please be patient...', 1, 1
);
endDetail();
return $rs if $rs;
}

Expand Down

0 comments on commit ecd1d5d

Please sign in to comment.