From f60bde9edd9dd8670011b435e358af0513665ade Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Mon, 12 Dec 2016 09:07:15 +0100 Subject: [PATCH] Protect variables correctly during expansion --- ROMFS/px4fmu_common/init.d/rc.interface | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ROMFS/px4fmu_common/init.d/rc.interface b/ROMFS/px4fmu_common/init.d/rc.interface index c5d499a3e8..4f1a223ffc 100644 --- a/ROMFS/px4fmu_common/init.d/rc.interface +++ b/ROMFS/px4fmu_common/init.d/rc.interface @@ -214,7 +214,7 @@ then # if [ $PWM_AUX_DISARMED != none -a $PWM_ACHDIS != none ] then - pwm disarmed -c $PWM_ACHDIS -p $PWM_AUX_DISARMED -d $OUTPUT_AUX_DEV + pwm disarmed -c ${PWM_ACHDIS} -p ${PWM_AUX_DISARMED} -d ${OUTPUT_AUX_DEV} fi if [ $FAILSAFE_AUX != none ]