mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-10 16:01:00 +02:00
Update run.sh
This commit is contained in:
@@ -27,7 +27,7 @@ die() {
|
|||||||
|
|
||||||
read_opt() {
|
read_opt() {
|
||||||
local key="$1"
|
local key="$1"
|
||||||
jq -er --arg k "$key" '.[$k]' "$OPTIONS_JSON" 2>/dev/null || true
|
jq -er --arg k "$key" '.[$k] // empty' "$OPTIONS_JSON" 2>/dev/null || true
|
||||||
}
|
}
|
||||||
|
|
||||||
strip_hostname() {
|
strip_hostname() {
|
||||||
|
|||||||
Reference in New Issue
Block a user