systemctl helper #596
@@ -1339,7 +1339,7 @@ void CoreController::performMountedSdCardOperations() {
|
|||||||
auto mountedSdCardOp = [&](sd::SdCard sdCard, std::string mntPoint) {
|
auto mountedSdCardOp = [&](sd::SdCard sdCard, std::string mntPoint) {
|
||||||
if (not performOneShotSdCardOpsSwitch) {
|
if (not performOneShotSdCardOpsSwitch) {
|
||||||
std::ostringstream path;
|
std::ostringstream path;
|
||||||
path << mntPoint << "/" << CONF_FOLDER;
|
path << mntPoint << "/" << core::CONF_FOLDER;
|
||||||
std::error_code e;
|
std::error_code e;
|
||||||
if (not std::filesystem::exists(path.str()), e) {
|
if (not std::filesystem::exists(path.str()), e) {
|
||||||
bool created = std::filesystem::create_directory(path.str(), e);
|
bool created = std::filesystem::create_directory(path.str(), e);
|
||||||
|
Reference in New Issue
Block a user