mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-25 08:40:30 +08:00
logger: don't exit if directory creation failed & mavlink mode enabled
This commit is contained in:
1 parent
8ea38bc278
commit
b233753e23
1 file changed
+4
-1
@@ -631,7 +631,10 @@ void Logger::run()
|
||||
|
||||
} else if (errno != EEXIST) {
|
||||
PX4_ERR("failed creating log root dir: %s", LOG_ROOT);
|
||||
return;
|
||||
|
||||
if ((_writer.backend() & ~LogWriter::BackendFile) == 0) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (check_free_space() == 1) {
|
||||
|
||||
Reference in new issue
Block a user