fix variable substitution

This commit is contained in:
Jakob Ketterl 2021-02-18 18:41:39 +01:00
parent a29d72d67f
commit b06a629ffb

View File

@ -19,7 +19,7 @@ case "$1" in
if [ ! -e "${OWRX_USERS_FILE}" ]; then if [ ! -e "${OWRX_USERS_FILE}" ]; then
# create an empty users file now to avoid permission problems later # create an empty users file now to avoid permission problems later
echo "[]" > "${OWRX_USERS_FILE}" echo "[]" > "${OWRX_USERS_FILE}"
chown "${OWRX_USER}". ${$OWRX_USERS_FILE} chown "${OWRX_USER}". ${OWRX_USERS_FILE}
fi fi
db_get openwebrx/admin_user_password db_get openwebrx/admin_user_password