mirror of
https://github.com/hassio-addons/bashio.git
synced 2025-05-06 12:01:25 +00:00
👕 Fixes shellcheck linter warnings
This commit is contained in:
parent
7cbbd0e5bf
commit
ba800df058
4 changed files with 26 additions and 26 deletions
|
@ -951,7 +951,7 @@ function bashio::addon.blk_write() {
|
|||
function bashio::require.protected() {
|
||||
local protected
|
||||
|
||||
protected=$(bashio::addon.protected)
|
||||
protected=$(bashio::addon.protected 'self')
|
||||
if bashio::var.true "${protected}"; then
|
||||
return "${__BASHIO_EXIT_OK}"
|
||||
fi
|
||||
|
@ -978,7 +978,7 @@ function bashio::require.protected() {
|
|||
function bashio::require.unprotected() {
|
||||
local protected
|
||||
|
||||
protected=$(bashio::addon.protected)
|
||||
protected=$(bashio::addon.protected 'self')
|
||||
if bashio::var.false "${protected}"; then
|
||||
return "${__BASHIO_EXIT_OK}"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue