diff --git a/src/freedombone-controlpanel b/src/freedombone-controlpanel index e92ef144..f063399a 100755 --- a/src/freedombone-controlpanel +++ b/src/freedombone-controlpanel @@ -170,7 +170,7 @@ function delete_user { } function configure_remote_backups { - if ! grep -Fxq "Admin user:$SELECTED_USERNAME" $COMPLETION_FILE; then + if ! grep -Fxq "Admin user:$ADMIN_USER" $COMPLETION_FILE; then dialog --title $"Administrator user" \ --msgbox $"No Administrator user found. Check $COMPLETION_FILE" 6 40 return