mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-08-06 12:16:11 +00:00
ensure root path is usable
This commit is contained in:
@@ -1312,6 +1312,7 @@ void MyMesh::checkCLIRescueCmd() {
|
||||
|
||||
// log each file and directory
|
||||
File root = _store->openRead(path);
|
||||
if(root){
|
||||
File file = root.openNextFile();
|
||||
while (file) {
|
||||
|
||||
@@ -1330,6 +1331,7 @@ void MyMesh::checkCLIRescueCmd() {
|
||||
file = root.openNextFile();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
} else if (memcmp(cli_command, "cat", 3) == 0) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user