[libcalamares] Reduce log spam when running commands
This commit is contained in:
parent
54385b7606
commit
39915db988
@ -169,7 +169,7 @@ System::runCommand( System::RunLocation location,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
cDebug() << "Running" << program << RedactedList( arguments );
|
cDebug() << Logger::SubEntry << "Running" << program << RedactedList( arguments );
|
||||||
process.start();
|
process.start();
|
||||||
if ( !process.waitForStarted() )
|
if ( !process.waitForStarted() )
|
||||||
{
|
{
|
||||||
@ -208,10 +208,6 @@ System::runCommand( System::RunLocation location,
|
|||||||
{
|
{
|
||||||
cDebug() << Logger::SubEntry << "Finished. Exit code:" << r << "output:\n" << Logger::NoQuote << output;
|
cDebug() << Logger::SubEntry << "Finished. Exit code:" << r << "output:\n" << Logger::NoQuote << output;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
cDebug() << Logger::SubEntry << "Finished. Exit code:" << r;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else // if ( r != 0 )
|
else // if ( r != 0 )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user