mirror of
https://github.com/hassio-addons/bashio.git
synced 2025-05-03 10:31:25 +00:00
🚑 Fixes off by one error in config.require.ssl
This commit is contained in:
parent
ba44a07ab8
commit
01b5c70639
1 changed files with 2 additions and 2 deletions
|
@ -528,8 +528,8 @@ function bashio::config.suggest.safe_password() {
|
|||
# ------------------------------------------------------------------------------
|
||||
function bashio::config.require.ssl() {
|
||||
local key=${1:-"ssl"}
|
||||
local certfile=${1:-"certfile"}
|
||||
local keyfile=${2:-"keyfile"}
|
||||
local certfile=${2:-"certfile"}
|
||||
local keyfile=${3:-"keyfile"}
|
||||
|
||||
if ! bashio::config.true "${key}"; then
|
||||
return "${__BASHIO_EXIT_OK}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue