AP_Scripting: allow scripting startup with no sdcard

as scripts can be in ROMFS we should still create the thread without
the scripts directory
This commit is contained in:
Andrew Tridgell 2021-02-25 17:43:15 +11:00 committed by WickedShell
parent d3b3c443bc
commit 35149ae8b2

View File

@ -132,7 +132,6 @@ void AP_Scripting::init(void) {
if (AP::FS().mkdir(dir_name)) {
if (errno != EEXIST) {
gcs().send_text(MAV_SEVERITY_INFO, "Lua: failed to create (%s)", dir_name);
return;
}
}