Kaydet (Commit) b0c88884 authored tarafından Rüdiger Timm's avatar Rüdiger Timm

#i10000# Add error output to STDERR

üst c6436f03
......@@ -384,6 +384,13 @@ sub analyze_and_save_logfile
{
my $errordir = installer::systemactions::rename_string_in_directory($installdir, "_inprogress", "_witherror");
if ( $installer::globals::updatepack ) { installer::mail::send_fail_mail($allsettingsarrayref, $languagestringref, $errordir); }
# Error output to STDERR
for ( my $j = 0; $j <= $#installer::globals::errorlogfileinfo; $j++ )
{
my $line = $installer::globals::errorlogfileinfo[$j];
$line =~ s/\s*$//g;
installer::logger::print_error( $line );
}
$is_success = 0;
$finalinstalldir = $errordir;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment