mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
In general, if anything goes wrong in the startup script, we should fail entirely because things might not work as expected. In particular, this prevents that we have to press Ctrl+C twice if the simulator start call is hung waiting for the simulator to appear and start communicating. We now press Ctrl+C once and exit straightaway whereas before we would press it once to get the warning: "Startup script returned with return value: 2", and then finally exit on the second press.