mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 14:08:52 +08:00
Fix additional erroneous px4_close call
* As indicated by @bkueng
This commit is contained in:
committed by
Lorenz Meier
parent
73ef772537
commit
6e808ad0a6
@@ -273,7 +273,7 @@ test_mount(int argc, char *argv[])
|
||||
px4_close(fd);
|
||||
|
||||
if (ret) {
|
||||
px4_close(cmd_fd);
|
||||
close(cmd_fd);
|
||||
PX4_ERR("UNLINKING FILE FAILED");
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user