mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-17 00:57:34 +08:00
210b5704a9
fixes a 'test: syntax error' message on startup. There were two problems: - the expansion of $MAVLINK_F lead to multiple arguments in the test when the variable contained spaces. Fixed with "" - the x prevents interpretation as a unary expression, if $MAVLINK_F starts with a - character (in that case the expansion would be: if [ -r 1200 ... and nsh interprets - as unary expression)