fix command

This commit is contained in:
Jakob Ketterl 2021-04-24 20:14:25 +02:00
parent 2da2a57e13
commit f3ed4a719a
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ case "$1" in
db_get openwebrx/admin_user_password
if [ ! -z "${RET}" ]; then
if ! openwebrx-admin --silent hasuser admin; then
if ! openwebrx admin --silent hasuser admin; then
# create initial openwebrx user
OWRX_PASSWORD="${RET}" openwebrx admin --noninteractive adduser admin
else