diff --git a/src/libcalamaresui/Settings.cpp b/src/libcalamaresui/Settings.cpp index a2d11c2d1..362ea1b45 100644 --- a/src/libcalamaresui/Settings.cpp +++ b/src/libcalamaresui/Settings.cpp @@ -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 ) {