Use helper to evaluate boolean value.

This commit is contained in:
Jocelyn Le Sage 2024-06-30 22:13:10 -04:00
parent faf17984a7
commit b61088c666

View File

@ -11,7 +11,7 @@ echo "/config/profile"
echo "--setDefaultBrowser" echo "--setDefaultBrowser"
# Check if kiosk mode is enabled. # Check if kiosk mode is enabled.
if [ "${FF_KIOSK:-0}" == 1 ]; then if is-bool-val-true "${FF_KIOSK:-0}"; then
echo "--kiosk" echo "--kiosk"
fi fi