Skip to content
Snippets Groups Projects
Commit 4ac5622b authored by Bob Mottram's avatar Bob Mottram
Browse files

Add echo

parent ab1daf7e
Loading
......@@ -450,7 +450,7 @@ function add_user_matrix {
"${PROJECT_NAME}-pass" -u "$new_username" -a matrix -p "$new_user_password"
echo "register_new_matrix_user -c \"${MATRIX_DATA_DIR}/homeserver.yaml\" -u \"${new_username}\" -p \"**********\" $add_user_matrix_admin http://localhost:${MATRIX_PORT}"
if register_new_matrix_user -c "${MATRIX_DATA_DIR}/homeserver.yaml" -u "${new_username}" -p "${new_user_password}" $add_user_matrix_admin http://localhost:${MATRIX_PORT}; then
if echo 'y' | register_new_matrix_user -c "${MATRIX_DATA_DIR}/homeserver.yaml" -u "${new_username}" -p "${new_user_password}" $add_user_matrix_admin http://localhost:${MATRIX_PORT}; then
echo "0"
return
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment