mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-06 16:49:51 +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