mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
logger: don't exit if directory creation failed & mavlink mode enabled
This commit is contained in:
parent
8ea38bc278
commit
b233753e23
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user