mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 12:54:04 +02:00
Avoid unbound variables
https://github.com/alexbelgium/hassio-addons/issues/575
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
#!/usr/bin/env bashio
|
#!/usr/bin/env bashio
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
|
|
||||||
|
# Avoid unbound variables
|
||||||
|
set +u
|
||||||
|
|
||||||
# Autodefine if not defined
|
# Autodefine if not defined
|
||||||
if [ -n "$INTERFACE_NAME" ]; then
|
if [ -n "$INTERFACE_NAME" ]; then
|
||||||
# shellcheck disable=SC2155
|
# shellcheck disable=SC2155
|
||||||
|
|||||||
Reference in New Issue
Block a user