mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01: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
|
||||
# shellcheck shell=bash
|
||||
|
||||
# Avoid unbound variables
|
||||
set +u
|
||||
|
||||
# Autodefine if not defined
|
||||
if [ -n "$INTERFACE_NAME" ]; then
|
||||
# shellcheck disable=SC2155
|
||||
|
||||
Reference in New Issue
Block a user