1
0
Fork 0
mirror of https://github.com/HamletDuFromage/aio-switch-updater.git synced 2024-11-24 18:42:05 +00:00

remove typo that slipped into forwader app

This commit is contained in:
flb 2021-03-16 03:14:17 +01:00
parent 173a338b0f
commit 0a1d25a60a

View file

@ -11,7 +11,7 @@
#define CONFIG_SWITCH "/config/aio-switch-updater/switch/"
#define HIDDEN_FILE "/config/aio-switch-updater/.aio-switch-updater"
int util::removeDir(const char* path)
int removeDir(const char* path)
{
Result ret = 0;
FsFileSystem *fs = fsdevGetDeviceFileSystem("sdmc");
@ -36,7 +36,7 @@ int main(int argc, char* argv[])
std::filesystem::create_directory(PATH);
std::filesystem::remove(FULL_PATH);
std::filesystem::rename(CONFIG_PATH, FULL_PATH);
util::removeDir(CONFIG_SWITCH);
removeDir(CONFIG_SWITCH);
}
std::filesystem::remove(FORWARDER_PATH);