Fix additional erroneous px4_close call

* As indicated by @bkueng
This commit is contained in:
Peter Duerr
2017-08-07 22:05:17 +02:00
committed by Lorenz Meier
parent 73ef772537
commit 6e808ad0a6
+1 -1
View File
@@ -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;
}