mirror of
https://github.com/woodchen-ink/docker-firefox.git
synced 2025-07-18 05:42:00 +08:00
Use helper to evaluate boolean value.
This commit is contained in:
parent
faf17984a7
commit
b61088c666
@ -11,7 +11,7 @@ echo "/config/profile"
|
||||
echo "--setDefaultBrowser"
|
||||
|
||||
# Check if kiosk mode is enabled.
|
||||
if [ "${FF_KIOSK:-0}" == 1 ]; then
|
||||
if is-bool-val-true "${FF_KIOSK:-0}"; then
|
||||
echo "--kiosk"
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user