Skip to content

Commit

Permalink
Update ConfigManager.java
Browse files Browse the repository at this point in the history
  • Loading branch information
ImUrX authored Nov 6, 2024
1 parent d121973 commit cda2071
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public synchronized void saveConfig() {
// delete accidental folder caused by PR
// https://github.com/SlimeVR/SlimeVR-Server/pull/1176
var cfgFileMaybeFolder = cfgFile.toFile();
if (cfgFileMaybeFolder.isDirectory() && cfgFileMaybeFolder.delete()) {
if (cfgFileMaybeFolder.isDirectory() && !cfgFileMaybeFolder.delete()) {
LogManager
.severe(
"Unable to delete folder that has same name as the config file on path \""
Expand Down

0 comments on commit cda2071

Please sign in to comment.