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