[wpilib] Change default Rio log dir from /home/lvuser to /home/lvuser/logs (#5899)

This commit is contained in:
Peter Johnson
2023-11-14 12:20:51 -08:00
committed by GitHub
parent a8b80ca256
commit e117274a67
3 changed files with 12 additions and 2 deletions

View File

@@ -225,6 +225,10 @@ public final class DataLogManager {
+ " Plug in a FAT32 formatted flash drive!",
false);
}
if (!new File("/home/lvuser/logs").mkdir()) {
// ignored
}
return "/home/lvuser/logs";
}
return Filesystem.getOperatingDirectory().getAbsolutePath();
}