mirror of
https://github.com/HamletDuFromage/aio-switch-updater.git
synced 2024-12-28 02:16:03 +00:00
remove typo that slipped into forwader app
This commit is contained in:
parent
173a338b0f
commit
0a1d25a60a
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue