mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 10:55:46 -05:00
[libcalamares] Reduce log spam when running commands
This commit is contained in:
parent
54385b7606
commit
39915db988
1 changed files with 1 additions and 5 deletions
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue