[libcalamares] Command verbosity was lost during expansion

This commit is contained in:
Adriaan de Groot 2024-06-30 18:05:54 +02:00
parent 265469c9cd
commit bbe015e732

View File

@ -165,7 +165,12 @@ CommandLine::expand( KMacroExpanderBase& expander ) const
QStringList e = m_environment; QStringList e = m_environment;
std::for_each( e.begin(), e.end(), [ &expander ]( QString& s ) { expander.expandMacrosShellQuote( s ); } ); std::for_each( e.begin(), e.end(), [ &expander ]( QString& s ) { expander.expandMacrosShellQuote( s ); } );
return { c, m_environment, m_timeout }; CommandLine l { c, m_environment, m_timeout };
if ( m_verbose.has_value() )
{
l.updateVerbose( m_verbose.value() );
}
return l;
} }
Calamares::CommandLine Calamares::CommandLine