mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-30 04:14:04 +02:00
fix: auto-fix linting issues
This commit is contained in:
committed by
github-actions[bot]
parent
caba7e0ecc
commit
de0e40c2ea
@@ -6,7 +6,7 @@ fix_file="/etc/chromium.d/dev-shm"
|
||||
|
||||
if [ -f "${fix_file}" ]; then
|
||||
bashio::log.info "Patching Chromium shared memory helper for reliable startup"
|
||||
cat <<'PATCH' > "${fix_file}"
|
||||
cat << 'PATCH' > "${fix_file}"
|
||||
# shellcheck shell=sh
|
||||
# Patched by alexbelgium/hassio-addons to avoid arithmetic errors with large values on some shells.
|
||||
shm_avail=$(findmnt -bnr -o avail -T /dev/shm 2>/dev/null)
|
||||
|
||||
Reference in New Issue
Block a user