SITL run: Always execute cleanup action

This commit is contained in:
Lorenz Meier 2015-11-23 13:51:18 +01:00
parent 23cfe5c41f
commit fb24a54ca4

View File

@ -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