[libcalamares] Command verbosity was lost during expansion
This commit is contained in:
parent
265469c9cd
commit
bbe015e732
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user