Skip to content

Commit

Permalink
Remove SYSCONF from SD after copying back
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew1Hawes committed Aug 24, 2024
1 parent 4f0e324 commit 70d1513
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sysconf_preserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ void restoreSysconf()
std::filesystem::copy_file("/vol/external01/wiiu/SYSCONF",
"/vol/storage_slccmpt01/shared2/sys/SYSCONF",
std::filesystem::copy_options::overwrite_existing);
std::filesystem::remove("/vol/external01/wiiu/SYSCONF");
} catch (const std::exception &e) {
DEBUG_FUNCTION_LINE_ERR("Copy exception: %s", e.what());
}
Expand Down

0 comments on commit 70d1513

Please sign in to comment.