[libcalamares] Reduce log spam when running commands

This commit is contained in:
Adriaan de Groot 2021-09-22 00:58:31 +02:00
parent 54385b7606
commit 39915db988

View file

@ -169,7 +169,7 @@ System::runCommand( System::RunLocation location,
}
}
cDebug() << "Running" << program << RedactedList( arguments );
cDebug() << Logger::SubEntry << "Running" << program << RedactedList( arguments );
process.start();
if ( !process.waitForStarted() )
{
@ -208,10 +208,6 @@ System::runCommand( System::RunLocation location,
{
cDebug() << Logger::SubEntry << "Finished. Exit code:" << r << "output:\n" << Logger::NoQuote << output;
}
else
{
cDebug() << Logger::SubEntry << "Finished. Exit code:" << r;
}
}
else // if ( r != 0 )
{