chore: standard shell uses single '=' not '==' for comparison (#14834)
This commit is contained in:
parent
38b33fdc87
commit
3fa2c331ac
1 changed files with 1 additions and 1 deletions
|
|
@ -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 "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue