[libcalamares] Improve explanation of failed processes.

This commit is contained in:
Adriaan de Groot 2018-01-15 05:51:58 -05:00
parent 8571fd800e
commit 60f4dd7b3b
2 changed files with 16 additions and 13 deletions

View file

@ -104,7 +104,7 @@ ShellProcessJob::exec()
if ( suppress_result )
cDebug() << "Error code" << r.getExitCode() << "ignored by ShellProcess configuration.";
else
return Calamares::JobResult::error( tr( "Could not run command." ), r.getOutput() );
return r.explainProcess( this, processed_cmd, 10 );
}
}