mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Update 99-run.sh
This commit is contained in:
@@ -11,7 +11,7 @@ APP_KEY="$(bashio::config 'APP_KEY')"
|
||||
# If not base64
|
||||
if [[ ! "$APP_KEY" == *"base64"* ]]; then
|
||||
# Check APP_KEY format
|
||||
if [ ! ${#APP_KEY} = 32 ]; then bashio::exit.nok "Your APP_KEY has ${#APP_KEY} instead of 32 characters"; fi
|
||||
if [ ! "${#APP_KEY}" = 32 ]; then bashio::exit.nok "Your APP_KEY has ${#APP_KEY} instead of 32 characters"; fi
|
||||
fi
|
||||
|
||||
# Backup APP_KEY file
|
||||
|
||||
Reference in New Issue
Block a user