mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[wpilib] Change default Rio log dir from /home/lvuser to /home/lvuser/logs (#5899)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user