diff --git a/src/freedombone-app-matrix b/src/freedombone-app-matrix index ac5656a9..f4b79a69 100755 --- a/src/freedombone-app-matrix +++ b/src/freedombone-app-matrix @@ -121,7 +121,7 @@ function add_user_matrix { ${PROJECT_NAME}-pass -u $new_username -a matrix -p "$new_user_password" - cd /etc/matrix + cd /etc/matrix/scripts register_new_matrix_user -c ${MATRIX_DATA_DIR}/homeserver.yaml https://localhost:${MATRIX_PORT} -u "${new_username}" -p "${new_user_password}" -a echo '0' }