mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 16:23:34 +08:00
SITL run: Always execute cleanup action
This commit is contained in:
@@ -78,6 +78,10 @@ cd $build_path/src/firmware/posix
|
|||||||
mkdir -p rootfs/fs/microsd
|
mkdir -p rootfs/fs/microsd
|
||||||
mkdir -p rootfs/eeprom
|
mkdir -p rootfs/eeprom
|
||||||
touch rootfs/eeprom/parameters
|
touch rootfs/eeprom/parameters
|
||||||
|
|
||||||
|
# Do not exit on failure now from here on because we want the complete cleanup
|
||||||
|
set +e
|
||||||
|
|
||||||
# Start Java simulator
|
# Start Java simulator
|
||||||
if [ "$debugger" == "lldb" ]
|
if [ "$debugger" == "lldb" ]
|
||||||
then
|
then
|
||||||
|
|||||||
Reference in New Issue
Block a user