chore: standard shell uses single '=' not '==' for comparison (#14834)

This commit is contained in:
thiloms 2024-07-11 20:36:23 +02:00 • committed by GitHub
parent 38b33fdc87
commit 3fa2c331ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,7 @@ if [ -f ${HASSIO_OPTIONSFILE} ]; then
fi
fi
else
if [ "$1" == '"evcc"' ] || expr "$1" : '-*' > /dev/null; then
if [ "$1" = '"evcc"' ] || expr "$1" : '-*' > /dev/null; then
exec evcc "$@"
else
exec "$@"