mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
shellcheck: fix SC3014 == in place of =
Fixes SC3014 (error): In dash, == in place of = is not supported. Signed-off-by: Ramon Roche <mrpollo@gmail.com>
This commit is contained in:
parent
83606cb0fc
commit
58dcfb0a02
@ -224,7 +224,7 @@ else
|
||||
# Look for airframe in ROMFS
|
||||
. ${R}etc/init.d/rc.autostart
|
||||
|
||||
if [ ${VEHICLE_TYPE} == none ]
|
||||
if [ ${VEHICLE_TYPE} = none ]
|
||||
then
|
||||
# Use external startup file
|
||||
if [ $STORAGE_AVAILABLE = yes ]
|
||||
@ -235,7 +235,7 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ${VEHICLE_TYPE} == none ]
|
||||
if [ ${VEHICLE_TYPE} = none ]
|
||||
then
|
||||
echo "ERROR [init] No airframe file found for SYS_AUTOSTART value"
|
||||
param set SYS_AUTOSTART 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user