mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-21 04:33:10 +08:00
logger: don't exit if directory creation failed & mavlink mode enabled
This commit is contained in:
@@ -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