Check last line
This commit is contained in:
parent
a537f3f174
commit
50d539c363
|
@ -506,7 +506,10 @@ function install_matrix {
|
||||||
|
|
||||||
matrix_nginx
|
matrix_nginx
|
||||||
|
|
||||||
add_user_matrix "${MY_USERNAME}" "${MATRIX_PASSWORD}"
|
if [[ $(add_user_matrix "${MY_USERNAME}" "${MATRIX_PASSWORD}" | tail -n 1) != "0" ]]; then
|
||||||
|
echo $'Failed to add matrix admin user';
|
||||||
|
exit 879352
|
||||||
|
fi
|
||||||
|
|
||||||
APP_INSTALLED=1
|
APP_INSTALLED=1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue