This commit is contained in:
@ -1205,7 +1205,8 @@ void CoreController::performMountedSdCardOperations() {
|
||||
if (not std::filesystem::exists(path.str()), e) {
|
||||
bool created = std::filesystem::create_directory(path.str(), e);
|
||||
if (not created) {
|
||||
sif::error << "Could not create CONF folder at " << path << ": " << e << std::endl;
|
||||
sif::error << "Could not create CONF folder at " << path.str() << ": " << e.message()
|
||||
<< std::endl;
|
||||
return;
|
||||
}
|
||||
}
|
||||
@ -1897,7 +1898,6 @@ ReturnValue_t CoreController::executeSwUpdate(SwUpdateSources sourceDir, const u
|
||||
utility::handleSystemError(result, "CoreController::executeAction: SW Update Decompression");
|
||||
}
|
||||
path strippedImagePath = prefixPath / path(config::STRIPPED_OBSW_BINARY_FILE_NAME);
|
||||
std::error_code e;
|
||||
if (!exists(strippedImagePath, e)) {
|
||||
// TODO: Custom returnvalue?
|
||||
return returnvalue::FAILED;
|
||||
|
Reference in New Issue
Block a user