mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05:46 -05:00
Handle missing setting gracefully.
This commit is contained in:
parent
7b3f6cdd5a
commit
1d8330f1eb
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ Settings::Settings( const QString& settingsFilePath,
|
|||
.as< std::string >() );
|
||||
m_promptInstall = config[ "prompt-install" ].as< bool >();
|
||||
|
||||
m_doChroot = !config[ "dont-chroot" ].as< bool >();
|
||||
m_doChroot = config[ "dont-chroot" ] ? !config[ "dont-chroot" ].as< bool >() : true;
|
||||
}
|
||||
catch ( YAML::Exception& e )
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue