mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 10:46:33 +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:
@@ -224,7 +224,7 @@ else
|
|||||||
# Look for airframe in ROMFS
|
# Look for airframe in ROMFS
|
||||||
. ${R}etc/init.d/rc.autostart
|
. ${R}etc/init.d/rc.autostart
|
||||||
|
|
||||||
if [ ${VEHICLE_TYPE} == none ]
|
if [ ${VEHICLE_TYPE} = none ]
|
||||||
then
|
then
|
||||||
# Use external startup file
|
# Use external startup file
|
||||||
if [ $STORAGE_AVAILABLE = yes ]
|
if [ $STORAGE_AVAILABLE = yes ]
|
||||||
@@ -235,7 +235,7 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ${VEHICLE_TYPE} == none ]
|
if [ ${VEHICLE_TYPE} = none ]
|
||||||
then
|
then
|
||||||
echo "ERROR [init] No airframe file found for SYS_AUTOSTART value"
|
echo "ERROR [init] No airframe file found for SYS_AUTOSTART value"
|
||||||
param set SYS_AUTOSTART 0
|
param set SYS_AUTOSTART 0
|
||||||
|
|||||||
Reference in New Issue
Block a user