From 70d15137cfbd63b2093013e8423348fe1d83d38e Mon Sep 17 00:00:00 2001 From: Andrew Hawes <117602754+Andrew1Hawes@users.noreply.github.com> Date: Sat, 24 Aug 2024 03:07:03 +0100 Subject: [PATCH] Remove SYSCONF from SD after copying back --- src/sysconf_preserver.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sysconf_preserver.cpp b/src/sysconf_preserver.cpp index 3c33ffa..b98373c 100644 --- a/src/sysconf_preserver.cpp +++ b/src/sysconf_preserver.cpp @@ -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()); }