mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-09 17:31:03 +01:00
lint
This commit is contained in:
@@ -12,6 +12,7 @@ declare port
|
||||
|
||||
# General values
|
||||
port=$(bashio::addon.ingress_port)
|
||||
# shellcheck disable=SC2210
|
||||
if [ "$port" ] >1; then
|
||||
# Adapt nginx
|
||||
sed -i "s|%%port%%|$port|g" /etc/nginx/servers/ingress.conf
|
||||
|
||||
Reference in New Issue
Block a user