mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 10:33:33 +08:00
Don't delete the parameter file on failed load.
This commit is contained in:
@@ -183,7 +183,7 @@ eeprom_load(const char *name)
|
||||
close(fd);
|
||||
|
||||
if (result < 0)
|
||||
unlink(name);
|
||||
errx(1, "error importing from '%s'", name);
|
||||
|
||||
exit(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user